[fpc-pascal] Redirecting heap trace output to stdout

Bart bartjunk64 at gmail.com
Wed Aug 17 18:40:45 CEST 2011


If it's on Linux, you can redirect stderr to stdout on the commandline...

Don'tknow the exact syntax though.

Bart

On 8/17/11, leledumbo <leledumbo_cool at yahoo.co.id> wrote:
> The only available function for dumping heap trace output is DumpHeap, which
> outputs to stderr. However, it's problematic to use it in a web environment,
> because web servers tend to give "internal server error" whenever stderr is
> not empty. Therefore, I'd like to redirect it to stderr, but I have no idea
> how...
>
> --
> View this message in context:
> http://free-pascal-general.1045716.n5.nabble.com/Redirecting-heap-trace-output-to-stdout-tp4708982p4708982.html
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list