问题
I've a fairly straight forward installation of eclipse. Started with Eclipse for Java EE development, I added the CDT and PyDev (I cannot recall whether F6 was working before adding these extensions).
When debugging, I'm trying to hit the F6 key for step over, and no action takes places.
F5 is working fine. Also, the step over button on the Debug view is working fine. Looking at Preferences -> General -> Keys, F6 is bound is 'Step Over' when Debugging as expected.
Where can I start troubleshooting this issue?
I'm on Windows, Indigo SR 2.
回答1:
Try to bind the key (just to make sure the F6 key on your keyboard really works) but cancel
Start Eclipse in a console with the options
-debug -console -consoleLog
Maybe you'll see an error messageTry to update PyDev. PyDev had some problematic key bindings in the past which seem to be fixed in 2.4.
Check the error log
回答2:
I just had the same problem, and managed to find another way around.
Window > Preferences > General > Keys
Find your debug commands (step over, step into, etc... or just type their hotkeys), select the desired command and click 'Restore Command'.
Note: I'm using Eclipse Indigo on Fedora 17.
回答3:
Go to Window -> Preferences -> General -> Keys For each key "F6", "F7", "F8" and "F5" , I restored the command and changed the When entry from "debugging" to "In Windows". Now all the shorcuts are working.
来源:https://stackoverflow.com/questions/10382493/any-idea-why-f6-wouldnt-work