Is it possible to setup Idea to show variable toString()
value when I hover a mouse over it like in Visual Studio?
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.
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.
Go to Preferences > Build, execution, deployment > Debugger > Data Views and enable show value tooltip on code selection.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With