m utku escreveu:
Jonas Maebe <[EMAIL PROTECTED]> writes:
> There's
>
> Procedure Dump_Stack(var f : text;bp:pointer);
>
> in the system unit. You can use it like this:
>
> dump_stack(stdout,get_frame);
>
This cleared a lot on my mind, thanks Jonas...
Recently I have tried this:
//------------------------------------------------------
try
AFunctionThatWillRaiseAnExceptionDeepInside;
except
Dump_Stack(stdout, ExceptAddr);
end;
//------------------------------------------------------
Unfortunately this did not do what I thought: giving the callstack
from the
point of where exception occured. Is there any way for that?
Multilog also provides a SendException method that will give the
exception stack frame along other info
Luiz
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal