In Eclipse I can only run/debug my project by using one of the menu buttons. Pressing F11 or Ctrl + F11 does nothing. I've mapped Debug Last Launched to all kinds of various keyboard shortcuts to see if another program running in the background was intercepting the key presses and that doesn't seem to be the case. Every other keyboard shortcut seems to work fine such as Ctrl + Shift + T or Ctrl + G.
Any help? The shortcut key works on my other computer and I keep instinctively trying to press it and it's drastically slowing down my work efficiency.
My problem was solved when I restored defaults values of my Keys. Go to Window -> Preferences -> General -> Keys. Then, click Restore Defaults button at the bottom, and restart Eclipse.
Display and Edit the Current Keyboard Shortcuts To see the current key configuration and its keyboard shortcuts, choose the Eclipse > Preferences menu command to open the Eclipse workbench Preferences. Select the General > Editor > Keys page.
1. Launching and Debugging a Java program. A Java program can be debugged simply by right clicking on the Java editor class file from Package explorer. Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead.
The only solution works for me ;
Open Key mappings (CTRL+SHIFT+L twice) Find the debugging shorcuts (F5,F6,F7...) and select
then change the When action value from "Debugging" to "In Window"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With