<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi again.<br>
Got it.<br>
-gl was checked but unchecking "use symbol file for gdb" it works
again <span class="moz-smiley-s11"><span> 8-) </span></span><br>
<br>
Le 06/03/2012 14:55, Antonio Fortuny a écrit :
<blockquote cite="mid:jj5512$oqc$1@dough.gmane.org" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi all.<br>
</blockquote>
<blockquote cite="mid:jj5512$oqc$1@dough.gmane.org" type="cite"> <br>
Sorry if this is a silly question but I can't find the answer into
this forun.<br>
How to get the function names in the heaptrc trace ?<br>
I use in project options:<br>
in Linking options:<br>
generate debug info for dgb<br>
show line numbers<br>
use symbol file for gdb<br>
use "heaptrc"<br>
<br>
in project .pas the very first line is:<br>
SetHeapTraceOutput(ChangeFileExt(ParamStr(0), '.log'));<br>
<br>
File program.log is created ok:<br>
<br>
Heap dump by heaptrc unit<br>
3564 memory blocks allocated : 1746202/1754304<br>
3563 memory blocks freed : 1746174/1754272<br>
1 unfreed memory blocks : 28<br>
True heap size : 425984 (96 used in System startup)<br>
True free heap : 429024<br>
Should be : 425792<br>
Call trace for block $001F14E8 size 28<br>
<i><b> $0061997C<br>
$0040D5A4<br>
$00411EC1<br>
</b></i>How to get details about the source code generating
those memory leaks ?<br>
<br>
Antonio.<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
</body>
</html>