Modifying a Variable from the Variables Pane

  1. In the Debugger window, click the Variables tab.

    This tab displays all variables that are within the scope of the method in which your program is stopped.

  2. Select the variable whose value you want to modify.

    The variable's properties, including its value, appear in the Properties pane on the right.

  3. Click in the Value column, type the new value, and press Enter.
You can also modify the value of a variable in the Watches pane.
See also
Watching the Value of a Variable or Expression

Legal Notices