[Lazarus] heap trace
Antonio Fortuny
a.fortuny at sitasoftware.lu
Tue Mar 6 14:55:46 CET 2012
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120306/0d9c61c7/attachment-0002.html>
More information about the Lazarus
mailing list