A
Ahmed Moustafa
In development, how to send a kill signal from Eclipse to a running
application?
Thanks in advance
application?
Thanks in advance
Ahmed Moustafa said:In development, how to send a kill signal from Eclipse to a running
application?
Thanks in advance
Do you mean how you can stop a program that you ran from Eclipse? Go
to the console view and click the terminate button (with a squarish
icon). You can select which program to terminate from the dropdown in
console view first, if you ran more than 1 program from Eclipse.
Is that what you looking for?
Ahmed Moustafa said:Nope, I've a shutdown hook in my application (for a clean shutdown when
a kill signal is sent), and what I am looking for is how to test that
from within Eclipse.
You used Runtime.addShutdownHook(Thread)? I test that from the command line![]()
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.