Debugging Dynamic Memory Usage Errors Using HP WDB
Detecting Heap Corruption
The info corruption <filename> command enables you to view the corruption profile of
all the allocations that are corrupted at a specified probe-point in the program. Ensure that the
bounds checking is enabled before using the info corruption command. The corruption
information is written to a specified file if the <file name> is provided. Otherwise, it is written
to stdout.
NOTE: The info corruption command is not supported in batch mode debugging
Example 13 (page 52) illustrates the use of the info corruption command.
Memory-Debugging Features of WDB 51