Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View variable value by hovering mouse over it in debug

Is it possible to setup Idea to show variable toString() value when I hover a mouse over it like in Visual Studio?

like image 232
Vlad Avatar asked Mar 31 '16 19:03

Vlad


People also ask

How can you see variable references while debugging?

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.

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.


1 Answers

Go to Preferences > Build, execution, deployment > Debugger > Data Views and enable show value tooltip on code selection.

enter image description here

like image 164
Михаил Дмитряха Avatar answered Sep 21 '22 13:09

Михаил Дмитряха