Rider Help

Inline Debugging

Enabling inline debugging

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

  • In the Debug tool window toolbar, click the Settings icon /help/img/idea/2017.2/projectToolWindowSettingsIcon.png and select the Show Values Inline option from the popup menu.
  • Open the page of Setting/Preferences dialog, and select the check box 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.

The inline variables view functionality simplifies the debugging procedure, as it lets you view the value of variables used in your source code right next to their declaration, without having to switch to the Variables pane of the Debug tool window.
The inline variables view functionality is enabled by default. If needed, you can disable it in the following ways:

  • In the Debug tool window toolbar, click the Settings icon /help/img/idea/2017.2/projectToolWindowSettingsIcon.png and unselect the Show Values Inline option from the popup menu.
  • Open the page of Setting/Preferences dialog, and unselect the check box Show values inline.

With this option 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 declared.

/help/img/rider/2017.1/rdr_InlineVariablesView.png

Last modified: 11 October 2017

See Also