Native Inspect Manual (H06.04+)
Contents
Native Inspect Manual—528122-005
4
1. Introducing Native Inspect (continued)
1. Introducing Native Inspect (continued)
Global Debugging 1-17
Native Inspect Is the Global Debugger 1-17
Debugging TNS Processes 1-18
Snapshot File Analysis 1-19
Creating a Snapshot File 1-19
Opening a Snapshot file 1-19
Debugging DLLs 1-19
Listing DLLs 1-20
Loading Symbols for DLLs 1-20
Addressing Symbols for DLLs Loaded at Another Address 1-20
Setting Breakpoints 1-20
Handling Events 1-20
Assessing Your Location After an Event 1-20
Switching Debuggers (To or From Inspect and Visual Inspect) 1-22
Stopping Native Inspect 1-23
Differences Between Native Inspect and WDB and GDB 1-23
2. Using Native Inspect
Quick Start for Inspect Users 2-1
Preparing to Debug Using Native Inspect 2-2
Compiling and Transferring Program Files 2-2
Gaining Control of a Process Using Native Inspect 2-3
Loading Symbols Information (If Necessary) 2-3
Determining the Compilation-Time Source File Name (If Necessary) 2-5
Configuring a Search Path for Your Source Files (If Necessary) 2-5
For C/C++, Advancing Execution to Main() 2-6
Sample Native Inspect Session (C++ Program) 2-7
Launch a C++ Program Under Native Inspect Control 2-8
List Source 2-8
Advance Execution to main() 2-9
List Source 2-9
Trace the Stack 2-9
Control Execution 2-10
Print Variables and Memory 2-10
Step Execution Into a Function 2-11
Set a Memory Access Breakpoint 2-11
End the Program and Debugging Session 2-12










