Sun Studio 12: Debugging a Program With dbx

showblock Command

The showblock command shows where the particular heap block was allocated from runtime checking. It is valid only in native mode.


Note –

The showblock command is available only on Solaris platforms.


When memory use checking or memory leak checking is turned on, the showblock command shows the details about the heap block at the specified address. The details include the location of the blocks’ allocation and its size. See check Command.

Syntax

showblock -a address

where:

address is the address of a heap block.