What is the shortcut in eclipse to terminate debugging/running? Looking under Preferences -> Keys says Ctrl + F2 but it doesn't work.
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
For newer versions of Eclipse: open the Debug perspective (Window > Open Perspective > Debug) select process in Devices list (bottom right) Hit Stop button (top right of Devices pane)
Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead. Either actions mentioned above creates a new Debug Launch Configuration and uses it to start the Java application. In most cases, users can edit and save the code while debugging without restarting the program.
Go to Preferences -> General -> Keys
Find "Terminate" Set your binding to whatever you want (in my case F12).
Then change "When" from "Debugging" to "Editing Java Source".
Works for me, now.
Going to Customize Perspective only showed me the bindings I already had, not let me set them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With