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

Document Information

Preface

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

Understanding Signal Events

Catching Signals

Changing the Default Signal Lists

Trapping the FPE Signal (Solaris Platforms Only)

Determining Where the Exception Occurred

Determining the Cause of the Exception

Sending a Signal to a Program

Automatically Handling Signals

15.  Debugging C++ With dbx

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.  Command Reference

Index

Chapter 14

Working With Signals

This chapter describes how to use dbx to work with signals. dbx supports the catch command, which instructs dbx to stop a program when dbx detects any of the signals appearing on the catch list.

The dbx commands cont, step, and next support the -sig signal_name option, which lets you resume execution of a program with the program behaving as if it had received the signal specified in the cont -sig command.

This chapter is organized into the following sections.