IntelliJ IDEA 2017.3 Help

Inline Debugging

On this page:


The inline debugging functionality facilitates the debugging procedure, as it lets you view the value 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.

Enabling inline debugging

To enable the inline debugging functionality, do one of the following:

  • In the Debug tool window toolbar, click the Settings icon projectToolWindowSettingsIcon and select the Show Values Inline option from the popup menu.
  • Open the Data Views page of Setting/Preferences dialog, and select the checkbox Show values inline.

Viewing inline debugging results

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.

ij inline debugging
Last modified: 6 March 2018

See Also