Adding a new Storage Monitor pane for an expression or register
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:
- Highlight the expression or register for which you want to add a new Storage Monitor pane.
- 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:
- Do one of the following:
- Select Source > Monitor Expression from the menu bar.
- Press Shift+F9.
- Click on the Monitors tab and select Monitors > Monitor Expression from the menu bar.
- In the dialog, enter the expression or register that you want to monitor.
- Select the Storage Monitor radio button.
- Click OK to add the new Storage Monitor pane.
- 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:
- Do one of the following:
- Select Source > Monitor Expression from the menu bar.
- Press Shift+F9.
- Click on the Monitors tab and select Monitors > Monitor Expression from the menu bar.
- In the dialog, enter the first expression or the name of the register that you want to
monitor.
- Select the Storage Monitor radio button.
- Click Monitor to add the new Storage Monitor pane for the expression or
register entered.
- Repeat steps 2 to 4 until you have added all the storage locations or registers that you
want to monitor.
- Click Cancel to close the dialog.
Tip: Check the Registers pane to see a valid register name.

Changing the representation of storage contents
Changing the contents of a storage location
Viewing a location in storage