Hi all.

Sorry if this is a silly question but I can't find the answer into this forun.
How to get the function names in the heaptrc trace ?
I use in project options:
in Linking options:
    generate debug info for dgb
    show line numbers
    use symbol file for gdb
    use "heaptrc"

in project .pas the very first line is:
  SetHeapTraceOutput(ChangeFileExt(ParamStr(0), '.log'));

File program.log is created ok:

Heap dump by heaptrc unit
3564 memory blocks allocated : 1746202/1754304
3563 memory blocks freed     : 1746174/1754272
1 unfreed memory blocks : 28
True heap size : 425984 (96 used in System startup)
True free heap : 429024
Should be : 425792
Call trace for block $001F14E8 size 28
/*  $0061997C
  $0040D5A4
  $00411EC1
*/How to get details about the source code generating those memory leaks ?

Antonio.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to