Native Inspect Manual (H06.03+)

Table Of Contents
Syntax of Native Inspect Commands
Native Inspect Manual528122-003
3-32
frame command, select-frame command
frame command, select-frame command
Selects a stack frame and prints information about the selected stack frame.
The select-frame command, the “silent” version of the frame command, does not print
out information about the selected frame.
Alias: f
number
is the number of the frame you want to select. To display frame numbers, use the
bt command. The frame at which execution is currently halted is numbered 0, and
frame numbers continue consecutively to the base frame from which execution
began.
If you do not include any arguments, the frame command displays information
about the current stack frame, which can be useful for determining your current
program location.
Consideration
The currently selected frame (specified in the frame command) is distinguished from
the current program location (the frame at which execution is suspended):
Most Native Inspect commands operate on the currently selected frame.
Execution-control commands, such as step and next, operate on the current
program location.
Examples
To display the current frame:
To display frame number 1:
[ frame | select-frame ] [ number ]
(eInspect 6,679): frame
#0 test_complexTypes() () at \SYS04.$D0117.SYMBAT1.SCXXTST:424
424 printf( "%s test_complexTypes\n", getStepPrefix( 1 ) );
(eInspect 6,679): frame 1
#1 0x70001570:0 in main (argc=1, argv=0x8003010)
at \SYS04.$D0117.SYMBAT1.SCXXTST:218
218 test_complexTypes();
(eInspect 6,679):