[fpc-pascal] Redirecting heap trace output to stdout

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Aug 18 00:14:51 CEST 2011


On 17 August 2011 19:13, Jonas Maebe wrote:
>
> assign(stderr,'somefile');
> rewrite(stderr);

I think you might be able to use the heaptrc environment variable for
that as well. Not 100% sure if it will work in the case of a web app,
but I can't see why not.

See the heaptrc unit documentation for the name of the environment
variable - I can't remember it off the top of my head.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net



More information about the fpc-pascal mailing list