CLion 2016.3 Help

Inline Variables View

    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/2016.3/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/idea/2016.3/cl_InlineVariablesView.png

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

    /help/img/idea/2016.3/cl_InlineVariable1.png
    - iteration completed, values are updated. Starting the next iteration:
    /help/img/idea/2016.3/cl_InlineVariable2.png

    See Also

    Last modified: 29 November 2016