CLion 2019.1 Help

Set Variable Value

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

To change the value of a variable

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

  2. Do one of the following:

    • Click a variable and press F2

    • 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: 24 July 2019