Tuesday, May 20, 2014

Assigning Ctrl + Shift + D to display a value of a variable within Eclipse when debugging

I recently took a fellow developer's version of eclipse which included all the necessary plugins for our project (rather than manually add these plugins myself).  I noticed afterwards that I was no longer able to hit Ctrl + Shift + D to display a value when debugging.

This is easily configurable and can be fixed by:

  1. From your Eclipse menu, select Window -> Preferences 
  2. Under General -> Keys
  3. In the type filter text field at the top enter "Display".  You should see one or two already there.  
  4. Select the first one, and set the When value to "Debugging Java" and make sure the binding is "Ctrl+Shift+D"

No comments: