[fpc-pascal] Capture HeadTrace output to file?

dhkblaszyk at zeelandnet.nl dhkblaszyk at zeelandnet.nl
Fri Nov 30 12:21:02 CET 2007


> [ Charset ISO-8859-1 unsupported, converting... ]
>> 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.
>
>   ./something >&  out.log
>
> however units like crt might make this not possible. The exact solution
> for
> that differs with application.

You can also set an environment variable.

http://www.freepascal.org/docs-html/rtl/heaptrc/environment.html

Darius






More information about the fpc-pascal mailing list