CLion 2021.2 Help

Data views

Use this page to manage the general data viewing settings. Refer to Debugger options: configuring data views for information on C/C++ specifics.

Common debugger settings

Sort values alphabeticallySelect this option to sort the values in the Variables pane of the Debug tool window.
Enable auto expressions in Variables view

Select this option if you want the CLion debugger to automatically evaluate expressions and show the corresponding values in the Variables pane of the Debug tool window.

The debugger analyzes the statement at the breakpoint and its nearest surrounding statements to find various expressions in the source code, such as myvar.myfield.

If they don't contain explicit method invocations, the debugger evaluates them and shows the corresponding values in the Variables view.




Show values inlineSelect this option to enable the feature that allows viewing the values of variables right next to their usage in the editor.
Value tooltips delay (ms)Specify the delay (in milliseconds) between the moment when the mouse pointer hovers over an object in the Variables pane of the Debug tool window, and the moment when a tooltip with the object's value is displayed.
Show value tooltip on code selection

Select this option to enable tooltips that show the expression value when you select a code fragment in the editor.

You can extend or shrink the selection with Ctrl+W/ Ctrl+Shift+W thus changing the evaluated expression:

Last modified: 08 March 2021