Adding a new Storage Monitor pane for an expression or register

ngjava.gif (225 bytes)Restriction: Storage or register information is not available when debugging interpreted Java programs. It is available when debugging High Performance Compiled (HPC) Java programs.

Registers can also be monitored in the Registers pane and the Monitors pane. To monitor all registers during program execution, use the Registers pane.

You may wish to add a new Storage Monitor pane for an expression or a register if you want to monitor specific locations in storage or only a few registers during the execution. To monitor all locations in storage during program execution, use the Storage pane.

You can also monitor all storage locations in a storage monitor, but it follows a specific variable, expression, or register as it changes. Warning: If there is a variable in scope which has the same name as the register that you are trying to use, the variable will be used first.

To add a new Storage Monitor pane for an expression or register from the Registers pane:

  1. Highlight the expression or register for which you want to add a new Storage Monitor pane.
  2. Right-click the highlighted expression or register and select Add to Storage Monitor from the pop-up menu. A new Storage Monitor pane will appear with the expression or register appearing as the monitor's tab title. The current value of the expression or register will be highlighted.

To add a new Storage Monitor pane for an expression or register from the Monitors pane:

  1. Do one of the following:
  2. In the dialog, enter the expression or register that you want to monitor.
  3. Select the Storage Monitor radio button.
  4. Click OK to add the new Storage Monitor pane.
  5. A new Storage Monitor pane will appear with the expression or register appearing in the monitor's tab.

To add multiple new Storage Monitor panes from the Monitors pane:

  1. Do one of the following:
  2. In the dialog, enter the first expression or the name of the register that you want to monitor.
  3. Select the Storage Monitor radio button.
  4. Click Monitor to add the new Storage Monitor pane for the expression or register entered.
  5. Repeat steps 2 to 4 until you have added all the storage locations or registers that you want to monitor.
  6. Click Cancel to close the dialog.

Tip: Check the Registers pane to see a valid register name.

ngrelt.gif (466 bytes)
Changing the representation of storage contents
Changing the contents of a storage location
Viewing a location in storage