Changing the contents of a variable

To change the contents of a variable in the Locals or Monitors pane:

  1. Expand the monitor containing the variable whose value you want to modify.
  2. If your variable is a class, struct or array, expand it to show its individual elements.
  3. Scroll down to the variable you want to change and do one of the following:
  4. Enter a new value for the variable or variable element.

ngrelt.gif (466 bytes)
Adding a variable or expression to the Monitors pane