What is the short cut in eclipse to terminate debugging/running?

后端 未结 9 545
说谎
说谎 2020-11-30 07:11

What is the shortcut in eclipse to terminate debugging/running? Looking under Preferences -> Keys says Ctrl + F2 but it doesn\'t work.

相关标签:
9条回答
  • 2020-11-30 07:48

    I also ran into this issue, but still didn't find a proper solution.

    Apparently, because multiple user program instances can run together, they (eclipse devs) just didn't put a general terminate key.

    As I just saw in their bugs section, they're (maybe) working on showing a dialog for selecting which running program you want to terminate when you click on the terminate button (probably will be Ctrl+F2 as default).

    You can see the bug page for this issue for further details and updates. hope it helps anyone.

    0 讨论(0)
  • 2020-11-30 07:59

    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.

    0 讨论(0)
  • 2020-11-30 08:01

    Alright, this is an admittedly lame answer, but here goes. CTRL+F2 just isn't working for me (from any perspective). I have no idea why. I'm running 3.5.2

    So I hit Alt, R, T, Enter.

    Alt, to get to the top menu bar. R, to select the run menu. T, to select terminate. Finally, enter to actually invoke it. It's really not that bad. Lame? Yes. Faster than a mouse click? Certainly.

    0 讨论(0)
提交回复
热议问题