What is the shortcut in eclipse to terminate debugging/running? Looking under Preferences -> Keys says Ctrl + F2 but it doesn\'t work.
As said here, you can add/enable the Debug command group to any perspective using
Window / Customize Perspective > Commands
.
(Select the 'Debug' group)
Then open the Debug view in the Java perspective (as a Fast view perhaps) and you should get your Terminate keybinding.
I suppose it was not working because you tried it in a non-debug session.