ManInMoon
ManInMoon

Reputation: 7005

How to terminate a remote Eclipse debug on java

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

Answers (2)

Robert
Robert

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

Duncan Jones
Duncan Jones

Reputation: 69409

Did you forget to allow remote termination of the VM when you configured Eclipse?

termination

Upvotes: 8

Related Questions