简体   繁体   English

如何在java上终止远程Eclipse调试

[英]How to terminate a remote Eclipse debug on java

I am remote debugging a java application and it genrally works well. 我正在远程调试一个java应用程序,它通常运行良好。 However, I am coding something new and now I get to a line and I want to terminate the program. 但是,我正在编写一些新内容,现在我找到了一行,我想终止该程序。 But the only buttons available are suspend and disconnect. 但唯一可用的按钮是暂停和断开连接。 Suspend of course, does not terminate, and disconnect stops the debug but leaves the remote app in a whatever state where I then have to restart it. 暂停,当然没有终止,断开连接会停止调试,但是远程应用程序处于任何状态,然后我必须重新启动它。

There is a terminate button - but it is always greyed out. 有一个终止按钮 - 但它总是灰显。 How can I choose to kill a program from Eclipse debugger? 如何从Eclipse调试器中选择杀死程序?

Did you forget to allow remote termination of the VM when you configured Eclipse? 在配置Eclipse时,您是否忘记允许远程终止VM?

终止

Are you using Eclipse Juno ? 你在使用Eclipse Juno吗? I am experiencing same thing even if the termination of remote VM is enabled as suggested, in such a case you could switch to Debug perspective to kill the remove VM. 即使根据建议启用了远程VM的终止,我也遇到了同样的问题,在这种情况下,您可以切换到Debug透视图以终止删除VM。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM