Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Debugging Your Program With dbx

    You are likely to be debugging your program for one of the following reasons:

  • To determine where and why it is crashing. Strategies for locating the cause of a crash include:

  • To determine why your program is returning incorrect results. Strategies include:

  • To find a memory leak or memory management problem. Runtime checking lets you detect runtime errors such as memory access errors and memory leak errors and enables you to monitor memory usage. See Finding Memory Access Problems and Memory Leaks.