Oracle® Solaris Studio 12.4: Overview

Exit Print View

Updated: December 2014
 
 

Tools for Debugging Applications

Oracle Solaris Studio includes the dbx debugger to help you detect errors in your applications.

dbx is an interactive, source-level, command-line debugging tool. You can use it to run a C, C++, or Fortran program in a controlled manner and to inspect the state of a stopped program. dbx gives you complete control of the dynamic execution of a program, including collecting performance and memory usage data, monitoring memory access, and detecting memory leaks.

    dbx enables you to perform the following tasks:

  • Examine a core file from a program that has crashed

  • Set breakpoints

  • Step through your program

  • Examine the call stack

  • Evaluate variables and expressions

  • Use runtime checking to find memory access problems and memory leaks

  • Use fix-and-continue to modify and recompile a source file and continue executing without rebuilding the entire program

You can use the dbx debugger on the command line, graphically through Oracle Solaris Studio IDE, or through a separate graphical interface called dbxtool.