The Storage pane is applicable on the AIX, Solaris, OS/390, AS/400, and Windows operating systems. The behavior of the Storage pane changes depending on the platform running the program you are debugging. Select the appropriate platform:
Attention: When debugging on the AS/400, the name of the Storage pane
tab is the name of the variable being monitored.
Use this pane to view and modify the contents of storage used by your program. By default, storage contents are displayed from the starting address of your program. Alternatively, storage contents are displayed where an executed program has halted or at the location of a selection that has been added to a Storage pane.
Use the scroll bar in the Storage pane to view storage flats or locations above or below the starting address of the pane.
Storage contents can be modified by double-clicking and editing a location or by highlighting the location to be edited, and selecting Edit from a pop-up menu or from the Storage pull-down menu. After selecting the location, a valid value can be entered.
The
Storage Pane is not available when debugging interpreted Java programs. It is available
when debugging High Performance Compiled (HPC) Java programs.
Controls and control groupings are described below. Group and subgroup names appear in italics, and control names appear in bold.
Content style | Select the representation of storage from the Content style pull-down list. |
Columns Per Line | Select the number of columns from the Columns Per Line pull-down list. |
If a new Storage Monitor pane is opened, the expression to be monitored will appear in the new pane's tab and these additional push buttons will appear in the new pane:
Push buttons |
|
If you double-click on the left-most column of a Storage Monitor pane and edit the value, the monitor starts to follow the new value entered. Similar to the Storage pane, storage can be edited using the remaining columns.
Use this pane to view and modify the contents of storage used by your program. If you compile your program with the TEST option, the debug engine will display the storage starting at the address of entry to main() in the first load module or the initial entry point of the first load module. For TPF programs, storage starting with the address of the entry control block (ECB) will display.
Use the scroll bar in the Storage pane to view storage flats or locations above or below the starting address of the pane.
Storage contents can be modified by double-clicking and editing a location or by highlighting the location to be edited, and selecting Edit from a pop-up menu or from the Storage pull-down menu. After selecting the location, a valid value can be entered.
When debugging a C/C++ program, an OS/390 Java program object, or a COBOL program, a pop-up menu option lets you display the contents of a selected storage block according to a user-defined layout specified in an XML file.
The Storage Pane is not available when debugging interpreted Java programs. It is
available when debugging OS/390 Java program objects.
Controls and control groupings are described below. Group and subgroup names appear in italics, and control names appear in bold.
Content style | Select the representation of storage from the Content style pull-down list. |
Columns Per Line | Select the number of columns from the Columns Per Line pull-down list. |
If a new Storage Monitor pane is opened, the name of the expression to be monitored will appear in the new pane's tab and these additional push buttons will appear in the new pane:
Push buttons |
|
If you double-click the left-most column of a Storage Monitor pane and edit the value, the monitor starts to follow the new value entered. Similar to the Storage pane, storage can be edited using the remaining columns.
A Storage pane allows you to view storage contents. If the program is compiled with the *TERASPACE storage model, you can also alter the content of the storage.
You can scroll the range in the Storage pane to ensure that the storage location you want to view is visible. Do this by using the scroll bar to locate the storage location. In addition, if you are monitoring storage contents in a program that uses the *TERASPACE storage model, you may enter a valid storage location in a Flat field. This location will then become the starting address of the Storage pane.
The contents of cells in a Storage pane for programs compiled with the *TERASPACE storage model can be modified by double-clicking and editing or by highlighting the cell contents to be edited, and selecting Edit from a pop-up menu or from the Storage pull-down menu. After selecting the location, a valid value can be entered. You can edit these Storage pane cells for either display style (Hex and Character or Character). For example, if you are monitoring storage using the Hex and Character display style, you can change the HEX values of individual characters or you can change the characters in the Hex and Character column. If you change HEX values, then the corresponding character value will be updated automatically. If you change a character, the corresponding HEX value will be updated automatically.
Restriction: Java memory
storage monitoring is not supported, however, you can monitor storage in a
program that is called by a JNI.
Controls and control groupings are described below. Group and subgroup names appear in italics, and control names appear in bold.
Content style | Select the display style of storage from the Content style
pull-down list.
When you set the display style to Hex and Character, the hex value of each byte and the corresponding character values of this line in EBCDIC are displayed. When you set the display style to Character, a corresponding EBCDIC character is displayed. |
||||
Columns Per Line | Select the number of columns from the Columns Per Line pull-down list. | ||||
Push buttons |
|