Debugging Dynamic Memory Usage Errors Using HP WDB (5900-1474; WDB 6.2; January 2011)

memory analysis tool. WDB enables you to debug memory leaks and heap-related errors
in an application.
In addition to plugging memory leaks in your application, it is also important to track
the memory utilization in your application. WDB provides capabilities such as heap
profiling and error injection to analyze the memory-usage of your application. The heap
profile displays information about the allocated memory, the calling function, and it also
displays the allocating call stack.
Additional Examples
Example 19 to Example 24 illustrate how WDB detects memory leaks and heap-errors
caused by different types of programming errors.
96