<br><br><div class="gmail_quote">On 13 December 2011 17:10, Marcos Douglas <span dir="ltr"><<a href="mailto:md@delfire.net">md@delfire.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">2011/12/13 Frank Church <<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>><br>
><br>
> How do you get a report of unfreed objects in Lazarus?<br>
><br>
> I hav read something about heaptrc and valgrind, but don't know if the latter works on Windows.<br>
<br>
</div>Include heaptrc unit in your program (would be the first unit) or use<br>
IDE 'Project'>'Project Options'|'Compiler<br>
Options'|'Linking'<Debugging><Use Heaptrc unit>.<br>
After you close your program, a message will be displayed to you.<br>
<font color="#888888"><br></font></blockquote><div><br><br>Can the output be logged to a file?<br><br>I am running in both console mode and in the normal mode using forms, and when I exit the program a lot of text flies by.<br>
<br>I am running Lazarus 0.9.30 and I remember that in 0.9.31 a dialog is show when the program exits. Is that dialog present in 0.9.30 with or without the heap trace?<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<font color="#888888">
Marcos Douglas<br>
</font><div><div></div><div class="h5"><br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>