To Display All Local Variables Of A Function At The Specified Stack (Backtrace) Level - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Assembly language
functions.
To display all local variables of a function at the
specified stack (backtrace) level
• Select Disp Vars at Stack Level from the Backtrace window pop-up menu.
Or:
• Using the command line, enter:
Program Context Expand <@stack_level>
Enter the stack level preceded by an at sign (@), and press the < Return> key.
The values of the parameters passed to the function and the function's local
variables are displayed in the Journal window.
Example
To display local variables at stack level 1, position the cursor over "1." in the
Backtrace window, and hold the right mouse button. Move the mouse to Disp
Vars at Stack Level and release the button.
Or, use the command line to enter:
Program Context Expand @1
Chapter 4: Viewing Code and Data
appear in the backtrace window at any stack level other
than levels 0 or 1.
Assembly language functions that set up stack frames
appear in the backtrace window, but the information
shown is incomplete. Since high level debug
information is not present in such handwritten
functions, the stack frame appears as a questionable
frame. Additionally, there is no function name
associated with the frame, i.e., it is displayed as
< unknown> .
Displaying Program Context
149

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents