Changing the contents of a variable

ngjava.gif (225 bytes) Note: The contents of variables cannot be changed when debugging an interpreted Java program.

To change the contents of a variable in a Locals pane 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 value that is valid for the current representation of that variable or variable element.
  5. Press Enter to submit the change. The debug engine checks for a valid value.

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