[Lazarus] heap trace
Antonio Fortuny
a.fortuny at sitasoftware.lu
Tue Mar 6 15:05:49 CET 2012
Hi again.
Got it.
-gl was checked but unchecking "use symbol file for gdb" it works again 8-)
Le 06/03/2012 14:55, Antonio Fortuny a écrit :
> 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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120306/92857f00/attachment-0003.html>
More information about the Lazarus
mailing list