JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.3: Debugging a Program With dbx     Oracle Solaris Studio 12.3 Information Library
search filter icon
search icon

Document Information


1.  Getting Started With dbx

2.  Starting dbx

3.  Customizing dbx

4.  Viewing and Navigating To Code

5.  Controlling Program Execution

6.  Setting Breakpoints and Traces

7.  Using the Call Stack

8.  Evaluating and Displaying Data

9.  Using Runtime Checking

10.  Fixing and Continuing

11.  Debugging Multithreaded Applications

12.  Debugging Child Processes

13.  Debugging OpenMP Programs

14.  Working With Signals

15.  Debugging C++ With dbx

Using dbx With C++

Exception Handling in dbx

Commands for Handling Exceptions

exception [-d | +d] Command

intercept [-all] [-x] [-set] [typename] Command

unintercept [-all] [-x] [typename] Command

whocatches typename Command

Examples of Exception Handling

Debugging With C++ Templates

Template Example

Commands for C++ Templates

whereis name Command

whatis name Command

stop inclass classname Command

stop infunction name Command

stop in function Command

call function_name(parameters) Command

print Expressions

list Expressions

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

20.  Debugging Shared Libraries

A.  Modifying a Program State

B.  Event Management

C.  Macros

D.  Command Reference


Chapter 15

Debugging C++ With dbx

This chapter describes how dbx handles C++ exceptions and debugging C++ templates, including a summary of commands used when completing these tasks and examples with code samples.

This chapter is organized into the following sections:

For information on compiling C++ programs, see Compiling a Program for Debugging.