Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Variables not showing while debugging in Eclipse

I am running Eclipse Galileo for developers.

When I run in debug mode, the current variables and their values are not coming up in the Variables window. The window remains empty when I step through my code after a breakpoint.

Last night it was working, so I'm perplexed. Any reason why this might be happening and any tip on troubleshooting?

like image 377
well actually Avatar asked Mar 30 '11 18:03

well actually


People also ask

How do I show variables in debugging in Eclipse?

Variables/Expression view – Shows the declared variables and their values. Press Ctrl+Shift+d or Ctrl+Shift+i on a selected variable or expression to show its value. You can also add a permanent watch on an expression/variable that will then be shown in the Expressions view when debugging is on.

How do I show variables in debug mode?

Hover over a variable to see its value. When stopped in the debugger hover the mouse cursor over the variable you want to look at. The DataTip will appear showing you the value of that variable. If the variable is an object, you can expand the object by clicking on the arrow to see the elements of that object.


1 Answers

I ended up trying something easy by resetting the Debug perspective, which seemed to work:

Window => Perspective => Reset Perspective...

Thanks for the comments.

like image 200
well actually Avatar answered Sep 20 '22 13:09

well actually