NonStop Development Environment for Eclipse 4.0 Debugging Supplement

Contents
1 Introduction...............................................................................................6
Introducing the debugging features for the NonStop Development Environment for Eclipse..................6
New and changed features for NSDEE 4.0.............................................................................7
2 Debugging tasks........................................................................................8
Preparing to debug a NonStop Application.................................................................................8
Related topics......................................................................................................................8
Debugging optimized code........................................................................................................8
Launching a NonStop Application under debugger control............................................................9
Related topics....................................................................................................................10
Attaching the debugger to a NonStop process...........................................................................10
Related topics....................................................................................................................10
Debugging a Snapshot file......................................................................................................11
Related topics....................................................................................................................11
Detaching the debugger from a NonStop process.......................................................................11
Related topics....................................................................................................................12
Creating or modifying debug configurations..............................................................................12
NonStop Application debug configurations...........................................................................12
Creating a new NonStop Application debug configuration.................................................12
Modifying an existing NonStop Application debug configuration........................................14
Related topics..........................................................................................................15
Specifying arguments for NonStop Application debug configurations...................................15
Considerations.........................................................................................................17
Specifying DEFINEs, ASSIGNS, and PARAMs for Guardian launch types..............................18
Specifying environment variables for OSS launch types......................................................19
NonStop Attach Process debug configurations.......................................................................20
Creating a new NonStop Attach Process debug configuration.............................................20
Modifying an existing NonStop Attach Process debug configuration....................................23
Related topics...............................................................................................................24
NonStop Snapshot debug configurations..............................................................................24
Creating a new NonStop Snapshot debug configuration....................................................24
Modifying an existing NonStop Snapshot debug configuration...........................................26
Related topics...............................................................................................................27
Tasks common to all debug configurations............................................................................27
Listing and filtering debug configurations..........................................................................27
Related topics..........................................................................................................27
Deleting an existing debug configuration..........................................................................27
Related topics..........................................................................................................27
Specifying alternate source file locations..........................................................................27
Adding source lookup paths......................................................................................29
Creating and editing path mapping lookups................................................................29
Related topics..........................................................................................................30
Specifying debugger options..........................................................................................30
Related topics..........................................................................................................32
Using the debug perspective for NonStop Applications................................................................32
Inspecting the stack............................................................................................................32
Related topics...............................................................................................................33
Controlling the execution of a NonStop Application................................................................33
Considerations for NonStop Attach Process debug configurations........................................33
Related topics...............................................................................................................33
Setting watchpoints............................................................................................................33
Related topics...............................................................................................................33
Contents 3