|
Performance Matters
Download record-setting compilers and tools for free.
Debugging Applications with Sun Studio dbx, dbxtool, and the Thread Analyzer
You can use dbx to debug an application written in C, C++, or Fortran. You can also, with some limitations, debug an application that is a mixture of Java code and C JNI (Java Native Interface) code or C++ JNI code. Check out some of the great advanced debugging features in dbx that set it apart from the rest:
Use the stand-alone GUI-based Screencasts
Runtime Checking (RTC) Runtime Checking (RTC) helps you understand how memory is being used in your application and identifies memory leaks and access errors. View the RTC screencast to learn more. Dbx Debugger A new standalone GUI debugging solution, dbxtool, is now available with Sun Studio software. The dbx debugger is also available as a command-line utility and is fully integrated into the Sun Studio NetBeans-based IDE. View the screencast to learn about dbxtool and the features of the dbx debugger.
Technical Articles
Optimized Code Debugging With Sun Studio dbx Use dbx to display the value of local variables and
function parameters when applications are compiled with high-level
compiler optimization options such as -O2, -O3, -O4, and -O5. (November 2008)
Debugging Multithreaded Programs Suggests ways of avoiding bugs in your code as well as strategies for finding these bugs using the dbx command-line debugger. (May 2008)
Using DTrace to Demystify Watchpoints in the Sun Studio dbx Debugger Educates users on how to use the watchpoint facility in the Sun Studio dbx debugger for both source-level and instruction-level debugging. (May 2008)
AMD64 Instruction-Level Debugging With dbx Details how to use the dbx debugger efficiently to display the contents of memory at specified addresses, and how to display machine instructions. (May 2008)
Using DTrace with Sun Studio Tools to Understand, Analyze, Debug, and Enhance Complex Applications Describes the DTrace utility and its architecture and shows how different tools can be used to fix software deficiencies and performance problems. (May 2008) Debugging a JVM Level Hang Using dbx The Sun Studio tool dbx is used to debug a particularly
thorny JVM hang on a Solaris x86 system. (March 2008)
Locating Memory Access Errors With Sun Memory Error Discovery Tool Learn how the Sun Memory Error Discovery Tool detects and reports common memory access errors such as accessing uninitialized memory, writing past the end of an array, or accessing memory after it has been freed. (September 2007) Why Can't dbx Find My Function? What to do when dbx doesn't have all the information it needs. (April 12, 2006)
dbx and System Libraries: Why Can't dbx Read My Process or Core File? For users of older versions of the Solaris OS and dbx, this article explains the long-standing dependencies that dbx has on various system libraries, how those dependencies can cause problems, and how to fix those problems. (revised March 28, 2006)
» See
all
Dbx Documentation
Reference Manual: Debugging a Program With dbx
ReadMe
dbx Readme Sun Studio 12 Update 1 dbx information. (June 2009)
Command-Line Man Pages:
Forum: Sun Studio
Debugging Tools
Ask questions about and disucss Sun Studio debuggers and debugging in general with the community of users and experts. |
| |||||||||||||||||||||||||||||||||||
|
| ||||||||||||