Search code examples
javaeclipseintellij-idea

Is it possible to tell IntelliJ IDEA to automatically invoke toString() on the objects inspected in watches, variables, tool tip windows?


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.


Solution

  • Settings | Debugger | Data Views:

    Enable toString()