eclipse debugging keys not working

前端 未结 8 626
伪装坚强ぢ
伪装坚强ぢ 2020-12-11 15:27

I\'m debugging my C++ project with eclipse Indigo cdt- and for some reason that F* keys stopped working when i\'m debugging . ( F8, F6, etc... that allow me to move to next

相关标签:
8条回答
  • 2020-12-11 15:53

    Well going to Windows -> Preferences -> Select Keys under General -> Restore defaults -> restart eclipse worked for me.

    0 讨论(0)
  • 2020-12-11 15:57

    I know this is late and already answered but I ran into the same issue debugging an android project. The accepted answer did not fix my problem even after many IDE restarts. My fix was to go into the Preferences and under General -> Keys. Then order list by key and look for F5-F8 "Debug Step Into, Over, Return and Run". I highlighted each one and clicked "Restore Command", then restarted Eclipse... this seemed to work for me.

    0 讨论(0)
  • 2020-12-11 16:01

    A workaround is to bypass the Eclipse feature to make the keys mode sensitive. You'll lose the ability to use the keys in some non-debug contexts, but at least they'll work for debugging.

    1. Open the Keys preferences section (CTRL+SHIFT+L twice).

    2. Click the Binding column header to set the sort order, and find the debugging keys (F5,F6,F7...).

    3. For each key, change the When action value from Debugging to In Window. Alternatively, you may find there is something more specific than "In Window" that works for your environment.

    0 讨论(0)
  • 2020-12-11 16:10

    I just had the same exact issue. It turned out it was the F Lock key on my Microsoft keyboard. If you have a Microsoft keyboard with an F Lock key, I suggest pressing it to toggle the state and see if that resolves your issue.

    0 讨论(0)
  • 2020-12-11 16:13

    I have no idea how I made the keys disappear in the first place, but what fixed it was to reset the debug perspective (You can do this from Window->Reset Perspective or right clicking on the Debug Perspective button from the top right panel and then choosing reset).

    Afterward restart eclipse.

    Hope this helps.

    0 讨论(0)
  • 2020-12-11 16:13

    I have verified it on Eclipse juno and F6, F8 is working properly. Just follow following steps.

    1 Click on Window Tab https://i.stack.imgur.com/qEKBQ.jpg

    2 Select Customize Perspective https://i.stack.imgur.com/gdUkU.jpg

    3 In Tool Bar Visibility make sure Debug is checked https://i.stack.imgur.com/8iC7N.jpg

    4 Select Shortcuts tab and click on Java and make sure Java Run/Debug is checked. https://i.stack.imgur.com/Y5NrF.jpg

    Hope this will help you out. Happy Coding

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