Charm Debug Library (debug) 

The debug library contains debugging support. 

Dump heap

export proc dump_heap (ref array char filename);

  • passed filename - dump file name
  1. The current contents of the heap are dump in hexadecimal and Ascii format to the file specified. This can be useful when looking for memory leaks caused by heap allocations with no subsequent free requests once the memory is no longer required.

Make a Free Website with Yola.