HPlogo HP WDB-GUI Reference Manual: HP-UX 11i v2

Chapter 3 Debugging with WDB GUI

» 

Technical documentation

Complete book in PDF

 » Table of Contents

Table of Contents

Loading a Program and Changing Program Settings
Setting Run Options
Setting Environment Variables
Setting Program Input/Output Redirection
Starting and Stopping the Debug Process
Starting the debug process (Go)
Restarting the debug process (Restart)
Stopping a debug session
Pausing program execution
Using Breakpoints
Tip
Inserting breakpoints
Removing breakpoints
Viewing and modifying breakpoints
Working with deferred breakpoints
Advancing Through Your Program
Stepping into functions
Stepping over functions
Stepping out of functions
Stepping last functions
Running to the cursor
Setting the next statement to execute
Showing the next statement to execute
Setting Signal Handling
Viewing signal handling
Changing signal handling
Browsing Functions
Viewing source for a function
Specifying a function filter
Listing and viewing member functions
Using the Program Console
Viewing program output
Entering program input
Changing the Working Directory
To set the current working directory
Setting source paths
Adding and deleting source paths
Changing the order of source paths
Setting Object Paths
Adding and deleting object paths
Changing the order of object paths
Setting Pathmap
Adding and Deleting Pathmap
Changing the Order of Pathmap
Opening Source Files
To open a source file
To reopen a souce file that was recently open
To save source files
To close a source file
Viewing Code
Viewing source code
Viewing assembly code
Viewing variables using Dwell
Fixing the Code from within the Debugger
Fixing code and continuing your program
Explicitly requesting the debugger for monitoring or rebuilding files
Examining build errors and warnings
Restrictions on fixing code from within the debugger
Finding Specific Text inYour Code
To find text or a regular expression
To find the next match
Saving and Restoring Debug Sessions
To save a debug session
Restoring a debug session
© 2004-2005 Hewlett-Packard Development Company, L.P.