Sun Studio 12: Debugging a Program With dbx

Turning On All Runtime Checking

To turn on memory leak, memory use, and memory access checking, type:


(dbx) check -all

For more information, see check Command.