This documentation is archived and is not being maintained.

Editing a Value in the Watch Window

You can use the Watch window to edit the value of a variable or register. (You cannot edit the value of const variables. You can edit and display register values for native-code applications only. The XMM0-XMM7 registers are not supported in the Watch window.)

To edit a value in the Watch window

  1. The debugger must be in break mode.
  2. If you typed the name of an array or object variable in the Expression box, a tree control appears next to the name in the Current value box. Click the plus (+) or minus (–) in the Name column to expand or collapse the variable to find the element whose value you want to edit.
  3. Double-click the Value column, in the row corresponding to the variable or expression whose value you want to change.
  4. Use the mouse and keyboard to edit the value.
  5. Press ENTER.

See Also

Using the Watch Window | Watch Window | Breaking Execution | Expressions in the Debugger | Debugging Tools for Inspecting Your Program | Command Window

Show: