CLion 2019.2 Help

Set Variable Value

During the debugging session, you can examine variables and change their runtime values.

  1. In the Debug tool window, choose the Variables tab.

  2. Do one of the following:

    • Click a variable and press N/A.

    • Right-click a variable and choose Set Value from the context menu.

  3. Enter the value in the text field adjacent to the selected variable.

    set a value for the debugged variable

Last modified: 3 October 2019