Go to Glossary Go to Search Go to IBM C and C++ Compilers Help Home Page Go to IBM Software WWW Site

Check Heap When Stopping

Select Run->Check heap when stopping to check all memory blocks allocated or freed by the runtime memory management functions. This makes sure that overwriting has not occurred outside the bounds of allocated blocks, and that free memory blocks have not been overwritten.

If Check heap when stopping is enabled, the heap is checked each time the program stops. For example, the heap check is performed at each breakpoint or after each step command. If a heap error is detected, your application terminates. The Termination dialog displays showing the source line number where the application stopped and the heap check was performed.

Notes on Check Heap when Stopping



Debug Heap Use