[fpc-pascal] Capture HeadTrace output to file?

Vincent Snijders vsnijders at quicknet.nl
Fri Nov 30 12:19:27 CET 2007


Graeme Geldenhuys schreef:
> Hi,
> 
> If I compile a project the -gh (Heaptrc unit), how to I capture the
> output generated when I quite the application to a file?
> 
> 
> I tried the normal:   $./text > out.log
> 
> But that doesn't work... the out.log is empty.

RTFM for the log=... use
http://www.freepascal.org/docs-html/rtl/heaptrc/environment.html

if no filename is given, it outputs to stderr and not stdout.

Vincent



More information about the fpc-pascal mailing list