Recent

Author Topic: New Argument for HeapTrc  (Read 1267 times)

skiy1337lazarus

  • New Member
  • *
  • Posts: 34
New Argument for HeapTrc
« on: March 28, 2015, 01:59:33 pm »
I thought it would be nice to have a megabytes parameter for HeapTrc, so that memory less than this amount will NOT be freed -- but rather FillChar on it with #255.

This is useful for debugging dangling pointers (objects used after destruction.)

My idea:
http://forum.lazarus.freepascal.org/index.php/topic,27880.0.html