Viewing a location in storage

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

You can view the contents of storage from the Storage pane or from a new Storage Monitor pane that you have created.

To view the contents of storage from the Storage pane:

  1. If desired, change the representation of the storage contents in the Storage pane.
  2. If necessary, use the scroll bar in the Storage pane to view storage locations above or below the starting address of the Storage pane.
  3. You can jump directly to an address in the Storage pane by doing the following:

To view the contents of storage from a Storage Monitor pane that you have created:

  1. If desired, change the representation of the storage contents in the Storage Monitor pane.
  2. If necessary, use the scroll bar in the Storage Monitor pane to view storage locations above or below the starting address of the Storage Monitor pane.
  3. Use the Go to Address button to return to the starting address of the Storage Monitor pane.

ngclang.gif (151 bytes) ngcpp.gif (202 bytes) To view the contents of a C or C++ variable, such as an integer, in a Storage monitor precede the variable with an ampersand (&), or select a pointer that points to that variable. For example, given the following C or C++ source code:

int i=10;
int* p=&i;

You can monitor the storage for the variable i by entering either &i or p in the Monitor expression dialog, then selecting the Storage monitor radio button in that dialog.

ngrelt.gif (466 bytes)
Changing the representation of storage contents
Changing the contents of a storage location
Creating a new Storage monitor for an expression or register