ArĂ Ricardo Ody escreveu:
I've tried to make programs generated by FPC inform the line number or
exceptions in execution time and I can't.
I use fpc.cfg standard installed during Lazarus 0.9.16 installation
and I put -CX -XX -gl after the name of the source in the FPC
compilation.
May someone of you tell me a step-by-step script about what I must do
to get source line numbers with execution exception messages?
Greetings from Sao Paulo - Brazil
Ricardo
P.S.: I've spent too much time debugging executables via Writeln...
You can try MultiLog. I has a SendCallStack function that sends the
current call stack (when compiled with -gl) to a file or an external
tool among others features.
See http://wiki.lazarus.freepascal.org/index.php/MultiLog
Luiz
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal