How to terminate previous debug session when new one is launched?

Mike picture Mike · Feb 24, 2011 · Viewed 8.6k times · Source

In Flash Builder 4 you are able to have the previous debugging session be terminated as soon as you launch a new one. In eclipse previous debugging sessions stick around until you manually terminate them.

Does anyone know if it is possible to have eclipse terminate previous debug sessions when launching a new one, and if so how?

(I am using MyEclipse for Spring 8.6)

Answer

KCD picture KCD · Jun 28, 2011

Not the best answer but... you could just make terminating easier on yourself, try Ctrl+F2

You can also go to Window > Preferences > General > Keys and search for Terminate and Relaunch. I'm trialing Alt+F11.

Alternatively you terminate on build with scripts like here: http://www.eclipse.org/forums/index.php?t=rview&goto=647327&th=202549