Previous Next Contents Index Doc Set Home

A dbx Overview


dbx is an interactive debugging tool which provides facilities to run a program in a controlled fashion, and to inspect the state of a stopped program. dbx gives you complete control of the dynamic execution of a program, including the collection of performance data. This section contains the following:

Starting dbx describes how to start and stop a debugging session, discusses compiling options, and describes how to save all or part of a debugging run and replay it later.

Viewing and Visiting Code covers visiting code, visiting functions, locating symbols and looking up variables, members, types, and classes.

Controlling Program Execution describes how to run, attach to, continue, stop, and rerun a program in dbx, and how to single-step through program code.

Examining the Call Stack describes how to examine the call stack, and how to debug a core file with the where command.

Evaluating and Displaying Data shows you how to evaluate data, display the value of expressions, variables, and other data structures, and how to assign a value to an expression.

Setting Breakpoints and Traces describes common operations, such as how to set, clear, and list breakpoints and traces, and how to use watchpoints.

Event Management describes how to manage events, and describes the general capability of dbx to perform certain actions when certain events take place in the program being debugged.

Using Runtime Checking is a feature that allows you to automatically detect runtime errors in an application during the development phase.

Using Fix and Continue describes how to modify a source file without leaving dbx, recompile the file, and continue execution of the program.

Collecting Data describes the dbx collector commands you can use to collect performance data.

Debugging Multithreaded Applications describes how to find information about threads by using the dbx thread commands.

Customizing dbx describes how to adjust dbxenv variables to customize certain attributes of your debugging environment, and how to use the initialization file, .dbxrc, to preserve changes and adjustments from session to session.

Debugging at the Machine Instruction Level describes how to use event management and process control commands at the machine-instruction level, how to display the contents of memory at specified addresses, and how to display source lines along with their corresponding machine instructions.

Debugging Child Processes describes several dbx facilities to help you debug processes that create children.

Working with Signals describes how to use dbx to work with signals.

Debugging C++ describes dbx's support of C++ templates, and discusses the commands that are available for handling C++ exceptions, and how dbx handles these exceptions.

Debugging Fortran using dbx introduces some dbx features to be used with Fortran.

dbx and the Dynamic Linker describes dbx's debugging support for programs that use dynamically-linked, shared libraries.

Using the KornShell explains differences between ksh-88 and dbx command language.

Modifying a Program State discusses the dbx operations that modify the state of a program.

User Tips recommends timesavers, warns of common pitfalls, and suggests some debugging techniques for dbx users.

Previous Next Contents Index Doc Set Home