Reputation: 8545
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)
Upvotes: 6
Views: 9756
Reputation: 8606
First launch normal debugging session.
After that, while in debugging mode, you can use Terminate and Relaunch.
Here is how to bind the keys to the commands properly (Window/Preferences -> Settings/General/Keys):
In this case it is:
Note: when assigning the keys, pay attention to When column.
Upvotes: 0
Reputation: 3742
If you press Shif during launching the new run, the old one will be terminated automatically.
Upvotes: -1
Reputation: 10271
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
Upvotes: 2