Reputation: 7005
I am remote debugging a java application and it genrally works well. 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?
Upvotes: 5
Views: 7874
Reputation: 374
Are you using 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.
Upvotes: 3
Reputation: 69409
Did you forget to allow remote termination of the VM when you configured Eclipse?
Upvotes: 8