Any idea why F6 wouldn't work?

為{幸葍}努か 提交于 2019-12-10 15:54:44

问题


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:


  1. Try to bind the key (just to make sure the F6 key on your keyboard really works) but cancel

  2. Start Eclipse in a console with the options -debug -console -consoleLog Maybe you'll see an error message

  3. Try to update PyDev. PyDev had some problematic key bindings in the past which seem to be fixed in 2.4.

  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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!