Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Enabling Memory Use and Memory Leak Checking

Use the following command to enable memory use and memory leak checking:

(dbx) check -memuse

When memory use checking or memory leak checking is enabled, the showblock command shows the details about the heap block at a given address. The details include the location of the block’s allocation and its size. For more information, see showblock Command.