Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library |
4. Viewing and Navigating To Code
5. Controlling Program Execution
6. Setting Breakpoints and Traces
8. Evaluating and Displaying Data
11. Debugging Multithreaded Applications
Commands for Handling Exceptions
intercept [-all] [-x] [-set] [typename] Command
unintercept [-all] [-x] [typename] Command
Examples of Exception Handling
stop inclass classname Command
call function_name(parameters) Command
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
Although this chapter concentrates on two specific aspects of debugging C++, dbx allows you full functionality when debugging your C++ programs. You can:
Find out about class and type definitions (see Looking Up Definitions of Types and Classes)
Print or display inherited data members (see Printing C++ Pointers)
Find out dynamic information about an object pointer (see Printing C++ Pointers)
Debug virtual functions (see Calling a Function)
Using runtime type information (see Printing the Value of a Variable, Expression, or Identifier)
Set breakpoints on all member functions of a class (see Setting Breakpoints in All Member Functions of a Class)
Set breakpoints on all overloaded member functions (see Setting Breakpoints in Member Functions of Different Classes)
Set breakpoints on all overloaded nonmember functions (see Setting Multiple Breakpoints in Nonmember Functions)
Set breakpoints on all member functions of a particular object (see Setting Breakpoints in Objects)
Deal with overloaded functions or data members (see Setting a stop Breakpoint in a Function)