Setting Up the Application Development Environment in Oracle® Solaris 11

Exit Print View

Updated: July 2014
 
 

Debugging Applications

You can run debugging tools such as the Modular Debugger mdb, the GNU debugger gdb, the dbx debugger provided by Oracle Solaris Studio, and Dtrace that enable you to debug complex software systems.

The Modular Debugger mdb is an extensible, general purpose debugging tool for the Oracle Solaris operating system. mdb allows you to debug at assembly language level. By using mdb, you can debug the Oracle Solaris kernel and associated device drivers and modules. For information about the mdb language syntax and debugger features, and the mdb module programming language, see Oracle Solaris Modular Debugger Guide .

The gdb and the dbx debuggers allow you to debug at the source code levels.

Oracle Solaris Dynamic Tracing (Dtrace) is a comprehensive dynamic tracing framework for the Oracle Solaris OS. The Dtrace facility enables you to concisely answer questions about the behavior of the operating system and user programs. Dtrace can help developers identify performance issues and bugs in applications. Oracle Solaris 11.2 Dynamic Tracing Guide describes in depth how to use Dtrace to observe, debug, and tune system behavior. This guide also includes a complete reference for bundled Dtrace observability tools and the D programming language.