4. Viewing and Navigating To Code
Selecting From a List of C++ Ambiguous Function Names
Choosing Among Multiple Occurrences
Walking the Call Stack to Navigate To Code
Variables That Reflect the Current Scope
Components of the Visiting Scope
Qualifying Symbols With Scope Resolution Operators
C++ Double Colon Scope Resolution Operator
Printing a List of Occurrences of a Symbol
Determining Which Symbol dbx Uses
Relaxing the Scope Lookup Rules
Viewing Variables, Members, Types, and Classes
Looking Up Definitions of Variables, Members, and Functions
Looking Up Definitions of Types and Classes
Debugging Information in Object Files and Executables
Listing Debugging Information for Modules
Finding Source and Object Files
5. Controlling Program Execution
6. Setting Breakpoints and Traces
8. Evaluating and Displaying Data
11. Debugging Multithreaded Applications
16. Debugging Fortran Using dbx
17. Debugging a Java Application With dbx
18. Debugging at the Machine-Instruction Level
19. Using dbx With the Korn Shell
dbx uses three global locations to track the parts of the program you are inspecting:
The current address, which is used and updated by the dis command (see dis Command) and the examine command (see examine Command).
The current source code line, which is used and updated by the list command (see list Command). This line number is reset by some commands that alter the visiting scope (see Changing the Visiting Scope).
The current visiting scope, which is a compound variable described in the Visiting Scope. The visiting scope is used during expression evaluation. It is updated by the line command, the func command, the file command, the list func command and thelist file command.