IntelliJ IDEA 2017.3 Help

Data Views

File | Settings | Build, Execution, Deployment | Debugger | Data Views for Windows and Linux
IntelliJ IDEA | Preferences | Build, Execution, Deployment | Debugger | Data Views for macOS
Ctrl+Alt+S settings

Use this page to manage the way data is displayed in the debugger.

Common debugger settings

Sort values alphabeticallySelect this option to sort the values in the Variables pane of the Debug Tool Window.
Enable auto expressions in Variables view

Select this option if you want the IntelliJ IDEA debugger to automatically evaluate expressions and show the corresponding values in the Variables pane of the Debug Tool Window.

The debugger analyzes the context near the breakpoint (the current statement, one statement before, and one after). It does so to find various expressions in the source code (if available) such as, for example, myvar.myfield.

If such expressions don't contain explicit method invocations, the debugger evaluates them and shows the corresponding values in the Variables view.

In the languages such as Groovy, it is impossible to tell whether any methods are invoked when evaluating an expression, and such method invocations often cause unwanted side effects, so it is recommended to disable this option when debugging Groovy code.


Show values inlineSelect this option to enable the Inline Debugging feature that allows viewing the values of variables right next to their usage in the editor.
Show value tooltipSelect this option to enable automatic display of tooltips for values.

A tooltip in this context is a pop-up that provides an alternative, sometimes a more convenient presentation of values in the Variables pane of the Debug Tool Window.

To illustrate, let's assume that there is a statement like this in your code:

String s = "Hello, World! \n Hello, World!";

When this statement is executed in the debugger, you'll see a line looking similar to this in the Variables pane:

s = {java.lang.String@62} "Hello, World! \n Hello, World!"

with the line break shown as\n.

If the Show value tooltip option is on and you click this line and then hold the mouse pointer on it, you’ll see a yellow area (the "tooltip") in which the value of s is shown as

Hello, World!
Hello, World!

with a real line break in place of\n.

If this option is disabled, press Alt to display a value.

Value tooltips delay (ms) Specify the delay (in milliseconds) between the moment when the mouse pointer hovers over an object in the Variables pane of the Debug Tool Window, and the moment when a tooltip with the object's value is displayed.
Show value tooltip on code selectionSelect this option to enable tooltips that show the expression value when you select a code fragment in the editor.
Last modified: 6 March 2018

See Also