CLion 2017.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. A list of variables is displayed.
    cl debugVaiables
  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: 15 December 2017