Items are displayed using these commands:
Table 1. Commands Displaying items| Item |
Command |
| variables |
VARIABLE |
| structures |
STRUCTURE |
| array elements |
ARRAY |
| type attributes for a variable |
TYPE |
| pointer locates information for a variable |
PLOCATES |
The VARIABLE command lets you look at successive elements of an
array. However, the need to manually update the array indices to view
the desired array element becomes tiresome.
If the array is a structure component, use the STRUCTURE command
to scroll through all elements of the array.
If the array is actually a substructure with multiple components
you must spend the time to scroll past the components which are not
relevant to the problem at hand. The ARRAY command helps
in these situations.
When you use the ARRAY command,
you select the initial element to be displayed using the same syntax as
the VARIABLE command.
The significant differences are:
- When the LSM Information window is scrolled forwards past the end of the current
variable information display, the next element in the array is
displayed.
- When the LSM Information window is scrolled backwards past the beginning of the
current variable information display, the previous element in the array
is displayed.
The display of the information about items persists until
you:
- Issue the same command, but without item arguments.
- Issue a CLOSE command against the window.
- Update the information in the window, with a command such as
VARIABLE, ARRAY, CALLERS, EVALUATES, PLOCATES, LANGUAGE STATUS or MAP.
- The target program completes execution.
- The target program execution progresses beyond the item's
defined scope.
You can change the data displayed by a VARIABLE, STRUCTURE, UNION
or ARRAY command by overtyping it.