|
Listing | Displays the source code for the function selected in the Callers or Functions windows, the file selected in the Files window, or a breakpoint selected in the Breakpoints window. The window's title indicates the file's name. Set or clear a breakpoint by clicking on the line to affect. If the source file was used to generate code multiple times (as for functions generated from a C++ template file or an out-of-lined inline), a menu prompts you to choose the function instance to breakpoint. |
Locals | Displays variables defined in the scope of the function selected in the Callers window. Click on a value in this window to activate a display-format menu (see "Format control" on page 126). | |
NonLocals | Displays variables defined outside the scope of any function (this includes static C++ class members), grouped by translation unit. Click on a value in this window to activate a display-format menu (see "Format control" on page 126). | |
Callers | Displays a traceback of suspended function activations (most recent at top). Click on a function name to display the source code for that function in the Listing window and to display its local variables in the Locals window. | |
Functions | Displays the names of the functions comprising the program. Click on a name to display the source code for that function in the Listing window. | |
Files | Displays the names of the source files comprising the program. Click on a name to display the source code for that function in the Listing window. | |
Breakpoints | Displays a list of breakpoints currently set. Click on a breakpoint to display the source code for that breakpoint in the Listing window. Lines with breakpoints are marked with stop sign icons. | |
Command | Displays the commands that can be used to control the debugger. Click on command to execute it. | |
Messages | Displays messages when there is a message to see. | |
Disassembly | Displays the machine code for the current function; you can set breakpoints in it. Used for machine-level debugging, this pane comes up automatically if you enter a function that was not compiled with debug info, or for which the debug info has been stripped. | |
Registers | Displays the values of the PowerPC` processors registers. | |
Storage | Displays the program's data area. You can use the arrow keys and the Page keys to move around in memory. You can click on the address column and type a new address; press Return to display the memory around that address. You can click in the hex dump and change the values in memory. You can click in the ASCII dump and type new ASCII values that will be put in memory. The scrollbars let you scroll through the 4K page of memory you're looking at, but the arrow and Page keys span those page boundaries. | |
Threads | Displays programs that operate in multiple threads. This window is available only when using using AIX 4.1. | |
Functions |
Displays (by default) only those functions that were compiled with debug information (that is, compiled with the -g flag). This excludes the functions in the (stripped) Taligent libraries, leaving only your functions.
In the Preferences list, you can change the value of "Function List" from "With -g only" to "All Functions" to cause the debugger to include all functions from ordinary symbol tables. But this still won't get functions from stripped libraries. To get functions from stripped libraries (like the Taligent libraries), you also need to change the next preference, "Use Loader Table," from "no" to "yes."
Note: Turning on all symbols will cause the Functions pane to take up to 20 minutes to load.
|