Native Inspect Manual (H06.03+)

Table Of Contents
Native Inspect Manual528122-003
2-1
2 Using Native Inspect
Preparing to Debug Using Native Inspect on page 2-2
Compiling and Transferring Program Files on page 2-2
Gaining Control of a Process Using Native Inspect on page 2-3
Loading Symbols Information (If Necessary) on page 2-3
Scope of Symbol Files: Global versus Per-Process on page 2-4
Load Address of Symbol Files on page 2-4
Considerations for Locating Symbols on page 2-4
How Native Inspect Locates Files on page 2-4
Determining the Compilation-Time Source Name (If Necessary) on page 2-5
Configuring a Search Path for Your Source Files (If Necessary) on page 2-5
Sample Native Inspect Session on page 2-7
Quick Start for Inspect Users
Table 2-1 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 Tabl e A-2 on page A-2.
For a list of Debug commands and equivalent Native Inspect command, see
Table A-1 on page A-1.
Table 2-1. Principal Native Inspect Commands With Inspect
Equivalents (page 1 of 2)
Task
Native Inspect
Command Inspect Command
Program State Display Commands
List program source list source
Trace stack frames bt trace
Select a stack frame frame [ number ] * scope number
Display a variable or
evaluate an expression
print var or
print expression
display data-loc
Modify a variable set [variable] expr
value or
print var=exp
m data-loc
Execution Control Commands
Step (over function calls)
Step in (a function call)
Step out (of the current function)
next
step
finish
step
step in
step out
Set a code breakpoint b function or
b line-num
b code-loc
* Native Inspect displays source and looks up variables relative to the selected frame.