Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - Run/Debug shortcut key doesn't work

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.

like image 856
Michael Williams Avatar asked Nov 15 '12 05:11

Michael Williams


People also ask

Why Eclipse shortcuts are not working?

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.

How do I enable shortcut Keys in 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.

How do I debug a shortcut in Eclipse?

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.


1 Answers

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"

like image 104
omer.dogan Avatar answered Nov 10 '22 02:11

omer.dogan