In Eclipse, when a variable is inspected and Eclipse is able to show its value, it does so by calling toString().
IntelliJ IDEA does not do it. Can it be told to?
Thanks.
IntelliJ IDEA allows you to inspect variables in a dedicated dialog. This is useful when you need to keep track of some variable (or the object whose reference it holds) and at the same time be able to navigate between frames and threads. Right-click a variable on the Variables tab and select Inspect.
The solution was simply to uncheck "Enable 'toString()' object view" -> Apply -> re-enable the same option -> apply and they're back!
Settings
| Debugger
| Data Views
:
Using IDEA 13.1:
Preferences -> Debugger -> Data Type Renderers
+(add) new renderer, give it a name
On 'When rendering the node' select option 'Use following expression', type in 'toString()'.
This seems to give me Eclipse-like behaviour.
I'd paste a picture... but don't have enough points. :P
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