

- #Shortcut keys for eclipse debugging on a mac android
- #Shortcut keys for eclipse debugging on a mac windows
On macs, the F2 key is often used to increase the screen brightness. This problem is discussed on eclipse forum thread here.į2 could be already used by your Operating System, which can intercept the keystroke before Eclipse gets a chance. This is because the launched application is not selected by default on the debug view. See screenshot below (I used Springsource Tools Suite 2.9.2 which is based on eclipse indigo, and m2e 1.0.200) Referring to this answer, I don't think it works all the time because depending on what was run, eclipse might not register the 'terminate' command as available.įor example when I run my project using maven (m2e plugin), the terminate button on console view is available, but not on the menu.

Once your application is running, use CTRL+F7 (Command+F7 on mac) to switch to Debug view, press down to highlight the launched app, and trigger your terminate shortcut Have a debug view open on your perspective (Alt+Shift+Q, Q -> find Debug). So, I threw together a very simple plugin. I'm running 3.5.2Īlt, to get to the top menu bar. CTRL+F2 just isn't working for me (from any perspective). Going to Customize Perspective only showed me the bindings I already had, not let me set them.Īlright, this is an admittedly lame answer, but here goes. Then change "When" from "Debugging" to "Editing Java Source". Set your binding to whatever you want (in my case F12). I suppose it was not working because you tried it in a non-debug session. Then open the Debug view in the Java perspective (as a Fast view perhaps) and you should get your Terminate keybinding. Window / Customize Perspective > Commands. What is the short cut in eclipse to terminate debugging/running? What is the shortcut in eclipse to terminate debugging/running? Looking under Preferences -> Keys says Ctrl + F2 but it doesn't work.Īs said here, you can add/enable the Debug command group to any perspective using
#Shortcut keys for eclipse debugging on a mac windows
Well going to Windows -> Preferences -> Select Keys under General -> Restore defaults -> restart eclipse worked for me. I run Eclipse as a standard user, so I am prompted for a privileged user authentication. The dialog to deny or allow comes from the OS. If I allow, sometimes the step toolbuttons are disabled.

When I start Debug, Eclipse tries to make a network connection. Alternatively, you may find there is something more specific than "In Window" that works for your environment. Open the Keys preferences section (CTRL+SHIFT+L twice).Ĭlick the Binding column header to set the sort order, and find the debugging keys (F5,F6,F7.).įor each key, change the When action value from Debugging to In Window. You'll lose the ability to use the keys in some non-debug contexts, but at least they'll work for debugging. I don't know why this happens but I've found that changing focus from one view to another (debug, or the editor) will usually fix it.Ī workaround is to bypass the Eclipse feature to make the keys mode sensitive. 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. It turned out it was the F Lock key on my Microsoft keyboard. 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). I highlighted each one and clicked "Restore Command", then restarted Eclipse. Then order list by key and look for F5-F8 "Debug Step Into, Over, Return and Run". My fix was to go into the Preferences and under General -> Keys. The accepted answer did not fix my problem even after many IDE restarts.
#Shortcut keys for eclipse debugging on a mac android
I know this is late and already answered but I ran into the same issue debugging an android project. Eclipse debugging keys not working - eclipse I'm debugging my C++ project with eclipse Indigo cdt- and for some reason that F* keys stopped working when i'm debugging.
