CLion 2017.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 projectToolWindowSettingsIcon and unselect the Show Values Inline option from the popup menu.
    • Open the page of Setting/Preferences dialog, and unselect the checkbox 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.

    cl InlineVariablesView

    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:

    cl InlineVariable1
    - iteration completed, values are updated. Starting the next iteration:
    cl InlineVariable2

    Last modified: 27 March 2018

    See Also