[fpc-pascal] Redirecting heap trace output to stdout
Michael Van Canneyt
michael at freepascal.org
Thu Aug 18 00:17:42 CEST 2011
On Thu, 18 Aug 2011, Graeme Geldenhuys wrote:
> 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.
When using CGI, you don't control the environment. The webserver does.
Michael.
More information about the fpc-pascal
mailing list