IntelliJ IDEA 2018.2 Help

Inline Values View

The inline values functionality simplifies the debugging procedure, as it lets you view the values of variables used in your source code right next to their usage, without having to switch to the Variables pane of the Debug tool window.

If this option is enabled, when you launch a debug session and step through the program, the values of variables are displayed at the end of the lines where these variables are used.

cl InlineVariablesView

Inline values are enabled by default. To switch them off, do one of the following:

  • In the Debug tool window toolbar, click the Settings icon projectToolWindowSettingsIcon and deselect the Show Values Inline option from the popup menu.
  • In the Settings/Preferences dialog (Ctrl+Alt+S), select Build, Execution, Deployment | Debugger | Data Views on the left and uncheck the Show values inline option.

Note, that when the variable value is updated during the debug, the color of the inline view for that variable changes. For example:
- starting an iteration:

cl InlineVariable1
- iteration completed, values are updated; starting the next iteration:
cl InlineVariable2

Last modified: 18 June 2018

See Also