Native Inspect Manual (H06.13+, J06.03+)
2 Using Native Inspect
Quick Start for Inspect Users
Table 8 lists the principal Native Inspect commands and their Inspect equivalents. This table is a
useful cross-reference for users familiar with Inspect commands.
• For a more complete list of Inspect commands and equivalent Native Inspect commands, see
Table 16 (page 136).
• For a list of Debug commands and their equivalent Native Inspect commands, see Table 15
(page 135).
Table 8 Principal Native Inspect Commands With Inspect Equivalents
Inspect CommandNative Inspect CommandTask
Program State Display Commands
sourcelistList program source
tracebtTrace stack frames
scope numberframe [frame-number] *
1
Select a stack frame
display data-locDisplay a variable or evaluate an
expression
print var
or
print expression
m[odify] data-locModify a variable set [variable] expr value
or
print var=exp
Execution Control Commands
stepnextStep (over function calls) Step in (a
function call) Step out (of the current
function)
step instep
step outfinish
b[reak] code-locb[reak] locspecSet a code breakpoint
b[reak] data-locmab {addr|var}Set a memory access breakpoint
clear bkpt-numdelete [bkpt-num]Delete a code breakpoint
clear numberdmabDelete a memory breakpoint
r[esume]continueResume execution
Machine State Commands
d[isplay] registers allDisplay registers info registers
or
info all-registers
or
info frame number
icode code-locdisassemble
[addr[addr]|func]
Display instructions
1
Native Inspect displays source and looks up variables relative to the selected frame.
Preparing to Debug Using Native Inspect
Before you can use Native Inspect for debugging, you need to do the following:
Quick Start for Inspect Users 33










