Troubleshooting and Debugging Tools on Solaris/Linux Platforms
dbx
dbx, available on the Solaris platform, is an interactive, source-level, command-line
debugging tool. You can use it to run a 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.
You can use dbx to debug an application written in C, C++, or Fortran.
High-performance compilers for developing C, C++, and Fortran applications for Solaris
OS on SPARC and x86/x64 platforms, including performance analysis tools, debugger, and an Integrated Development
Environment (IDE). Compilers are notavailable on Linux. Performance tools, debugger, and the IDE
are available for x86 Linux platforms.
The latest Sun Studio software release, Sun Studio 11, is FREE for SDN members.
DTrace is a comprehensive dynamic tracing facility that is built into Solaris and
can be used by administrators and developers to examine the behavior of both user programs
and of the operating system itself. With DTrace you can explore your system to understand
how it works, track down performance problems across many layers of software, or
locate the cause of aberrant behavior.
proc tools such as pstack, pldd, pflags are very useful diagnostic utilities
that can be used to examine running processes or core files. See the complete
list of proc tools in the following link.