You can add an expression or variable to a memory monitor in the
Memory Rendering view from the editor, from the Variables view, or directly
from the Memory Rendering view.
About this task
Alternatively, you can monitor an expression or variable in the
Memory Rendering view in conjunction with a memory monitoring in the Memory
view.
To add a memory monitor from within the Memory Rendering view:
Procedure
- In the Memory Rendering view, click the Add Memory Rendering button
or choose the Add Memory Rendering pop-up menu item.
Note: The Add Memory Rendering pop-up menu item
is only available when there are no memory monitors in the Memory Rendering
view.
- In the Add Memory Rendering dialog box, click the Add
New button.
- In the Monitor Memory dialog box, enter the expression or variable
in the field (this entry does not need to be case-sensitive) or, if you have
previously monitored the expression or variable when debugging this application,
choose it from the pull-down list.
- Click OK to return to the Add Memory Rendering
dialog box.
- Do one of the following:
- In the Add Memory Rendering dialog box, select the data format
that you would like to use for the memory rendering and then click OK.
- Click Cancel in the Add Memory Rendering
dialog box to return to the Memory Rendering view. The view will be populated
with the memory rendering selection list. From this list, select the data
format that you would like to use for the memory rendering and then click Add
Rendering(s).
Results
To add a memory monitor from the editor:
- In the editor, highlight and right-click the expression that you want
to monitor.
- Select from the pop-up menu (where any_memory_rendering_format is
a rendering format such as ASCII, EBCDIC, signed integer, or unsigned integer).
For IBM® i,
use EBCDIC. To switch to EBCDIC, right-click on the tab for your expression
and select
You can set the default so that all expressions added into the Memory
Rendering view use EBCDIC representation. To do this, right-click on the Expression
tab and select .
To render
memory when monitoring memory in the Memory view, add the variable or expression
to the Memory view. This will automatically cause the Memory Rendering view
to be populated with the memory rendering selection list for the variable
or expression. From this list, select the data format that you would like
to use for the memory rendering and then click Add Rendering(s).