[Lazarus] How do you get a report of unfreed objects in Lazarus after a program runs?
Graeme Geldenhuys
graemeg.lists at gmail.com
Wed Dec 14 08:12:12 CET 2011
2011/12/13 Frank Church :
> 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.
TIP
-----
I highly recommend that any body developing software use heaptrc (-gh
compiler parameter) from the start of their project if possible.
Fixing a memory leak a minute after you introduced it, is much easier
than hunting down 200+ memory leaks months down the line.
I would even go as far as to say, the -gh option should be enabled by
default in Lazarus IDE.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
More information about the Lazarus
mailing list