CLion 2016.3 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.
    /help/img/idea/cl_debugVaiables.png
  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.
    /help/img/idea/cl_debugVaiablesSetValue.png
Last modified: 22 November 2016