>> With compile modes: -gg -gl
>> Aren't line info and tracebacks suppose to be shown,
>> the above example does not show these.
>
> I think the problem comes with using exceptions. Normally, if a
> run-time error occurs, the default exit proc will print the line
> number info to stdout. But if an exception traps the error before
> the program exits, then that information is absorbed by the
> exception handler, and never makes it to the exit proc.

The line info printing (-gl) does not use exitproc. It hooks an internal
procvar that is used for printing backtraces.



_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to