Debugging Dynamic Memory Usage Errors Using HP WDB
Monitoring Allocations Greater Than a Specified size
The set heap-check block-size command instructs WDB to stop the program and transfer
the execution control to the user when the program allocates a heap block whose size is greater
than or equal to <num-bytes>.
Following is the syntax for the set heap-check block-size command:
set heap-check block-size <num-bytes>
Example 8 (page 40) illustrates the use of the set heap-check block-size command.
Memory-Debugging Features of WDB 39