CLion 2018.2 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 on a variable and press F2

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

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

    cl debugVaiablesSetValue

Last modified: 27 November 2018