[fpc-devel] Command line parameter for using heaptrc without debuginfo
vsnijders at quicknet.nl
Fri Feb 9 16:47:08 CET 2007
I want to include memory checking in my test application without having the
debuginfo (since that makes the application 10 times as big and takes longer to
Even without debuginfo it gives information, about the number of allocated memory
blocks that are not freed and whether some memory has taken place. To find the
location a recompilation with debug info is needed of course.
I tried to set -gh -Xs includes the debuginfo. Also the following did not work:
What worked is
and add uses heaptrc to the main program.
Is this the only solution?
Is the current behavior (enabling debuginfo if -gh is passed) by design?
P.S. While typing I got an idea:
does exactly what I want. I just thought -gh would do the same.
More information about the fpc-devel