[Lazarus] How do you get a report of unfreed objects in Lazarus after a program runs?

Marcos Douglas md at delfire.net
Tue Dec 13 18:10:36 CET 2011


2011/12/13 Frank Church <vfclists at gmail.com>
>
> How do you get a report of unfreed objects in Lazarus?
>
> I hav read something about heaptrc and valgrind, but don't know if the latter works on Windows.

Include heaptrc unit in your program (would be the first unit) or use
IDE 'Project'>'Project Options'|'Compiler
Options'|'Linking'<Debugging><Use Heaptrc unit>.
After you close your program, a message will be displayed to you.

Marcos Douglas




More information about the Lazarus mailing list