Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable's value. Instead, hover behaves as if I were in normal Java perspective:

alt text http://michaelzanussi.com/wp-content/uploads/2009/11/debug_hover.png

I've tried cleaning the project, re-importing it, etc., all to no avail. Anything I'm missing here?

like image 379
zanussi Avatar asked Nov 13 '09 17:11

zanussi


People also ask

Why Hover is not working in Eclipse?

Go to Window - Preferences - Java - Editor - Hovers. Is "Combined Hover" selected? Uncheck it; apply; close the window; restart debugging session; go back; check it again; apply. If the above doesn't help, you can check "Variable Values" option and specify a modifier key for it.

How do you exit debug perspective?

For that, look at the Debug window. You can add this window to any perspective, and changing to a perspective that doesn't have a debug window doesn't stop or pause any debugging. To stop debugging, use the "stop" button or right-menu option in the Debug window. Or tell the application being debugged to exit itself.

Which perspective is used for debugging in eclipse?

Debug Perspective The debug perspective offers additional views that can be used to troubleshoot an application like Breakpoints, Variables, Debug, Console etc.


2 Answers

Go to Window - Preferences - Java - Editor - Hovers.

  1. Is "Combined Hover" selected? Uncheck it; apply; close the window; restart debugging session; go back; check it again; apply.
  2. If the above doesn't help, you can check "Variable Values" option and specify a modifier key for it. Not as convenient as "combined", but should work.
like image 50
ChssPly76 Avatar answered Oct 06 '22 03:10

ChssPly76


I went to Window - Preferences - Java - Editor - Hovers, hit "Restore Defaults" and "Apply" and that fixed it for me, even though nothing actually changed in the settings...

like image 36
Dale77 Avatar answered Oct 06 '22 03:10

Dale77