HP.com home

HP/DDE Debugger User's Guide: HP 9000 Series 700/800 Computers

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Glossary

 » Index


HP Part Number: B3476-90015
Edition: First Edition
Published: July 1996
© Copyright 1996
Legal Notices

Table of Contents

Preface
Printing History
1 Overview
HP/DDE at a Glance
HP/DDE Online Help
Using HP/DDE Online Help
2 Compiling, Loading, and Executing the Target Program
Preparing the Target Program
Invoking the Debugger
Setting PATH and MANPATH Variables
Stopping the Debugger
Invoking and Loading a Target Program During Debugger Startup
Invoking and Loading a Target Program From the Debugger
Using the File Menu
Using the debug Command
Attaching the Debugger to a Running Process
Using the File Menu
Using the debug Command
Stopping the Target Program
Restarting the Target Program
Using the File Menu
Using the restart Command
Interrupting a Running Program
Interrupting in System or Nondebuggable Routines
Examining Source Files
Executing the Target Program
Using Command Buttons
Using the go Command
Using the step Command
Using the Mouse
Looking at the Call/Return Stack
Using the tb Command
Using the environment Command
3 Using Monitors (Breakpoints, Watchpoints, Traces, and Intercepts)
Using Monitors
Setting Breakpoints
Using the Mouse
Using the breakpoint Command
Using the Break Menu
Using the Breakpoint Set/Change Dialog Box
Setting Watchpoints
Viewing and Modifying Watchpoints
Using Command Buttons
Using the Watch Menu
Using the Data Watchpoint Set/Change Dialog Box
Using the watchpoint Command
Setting Traces
Using the Trace Menu
Using the Trace Set/Change Dialog Box
Using the trace Command
Setting Intercepts
Using the Intercepts Dialog Box
Using the intercept Command
4 Viewing and Manipulating Target Program Data
Examining Variables and Expressions
Using Command Buttons
Using the Mouse
Using the Data Value Menu
Using Debugger Commands
Examining Registers
Using Register Commands
5 Using Debugger Commands
Abbreviating Debugger Commands
Entering Multiple Debugger Commands on One Line
Using Command Lists
Continuing Commands on the Next Line
Resolving Syntax Conflicts
Resolving Case Sensitivity
Editing the Command Line
Using the Command History Facility
Recording Command Sequences for Later Playback
Invoking Shell Commands from the Debugger
Redirecting Input and Output
Creating Alias and Define Macros
Using Reserved Identifiers and Special Macros
Combining Debugger Commands Using Action Lists
Creating Action Lists
Creating Conditional Action Lists
Understanding Action List Execution in Special Circumstances
6 Customizing the Debugger
Using the Options Menu
Using Startup Command Files
Using a Personal Startup File to Customize the Debugger
A Sample Personal Startup File
Emulating Other Debuggers
Compatibility with xdb
Compatibility with dbx
7 Identifying Program Objects
Understanding Blocks and Environments
Changing the Environment
Overriding the Current Language
Applying Scope and Visibility Rules
Using Qualified Names
Block Qualified Names
Fully Qualified Names
Image Qualified Names
Special Block Qualified Forms
8 Debugging in Special Situations
Examining Core Files
Attaching to a Core File
Core File Debugging
Debugging Shared Libraries
Debugging Multi-Threaded Applications
Making libdce.sl Writable
Viewing and Manipulating Threads
Setting Breakpoints on Threads
Environment in Multi-Threaded Applications
Thread-Specific Debugger Commands
Assembly Level Debugging
Using the Assembly Instructions Dialog Box
Using Debugger Commands
Saving Assembly Code in a File
Debugging Optimized Code
Optimized Code and Unoptimized Code
Debugging Parent and Child Processes
Debugging Applications That Use ioctl or curses
Running the Debugger Remotely
A
Line-Mode User Interface
Invoking the Line-Mode User Interface
The User Interface Startup File
Screen Display Conventions
Examples
B Language Managers
C Language Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
C++ Language Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
FORTRAN Language Manager
Type Name
Description
Title
Syntax
Startup File
Related Managers
HP Pascal Language Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
HP-UX PA-RISC Assembly Language Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
Solaris SPARC Assembly Language Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
C Target Managers
HP-UX PA-RISC Target Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
Solaris SPARC Target Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
D Object Managers
HP SOM Object Manager
Type Name
Title
Description
Syntax
Startup File
Related Manager
Solaris SPARC Object Manager
Type Name
Title
Description
Syntax
Related Manager
Startup File
E User Interface Managers
Graphical User Interface Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
Line-Mode User Interface Manager
Type Name
Title
Description
Syntax
Startup File
Related Managers
SoftBench User Interface Manager
Type Name
Title
Description
Syntax
Startup File
Glossary
Index

List of Tables

5-1 Reserved Identifiers and Special Macros
C-1 Title not available (Syntax )