[fpc-pascal] Source line numbers during execution
Luiz Americo Pereira Camara
pascalive at bol.com.br
Mon Jul 10 21:57:30 CEST 2006
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
> 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
> 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.
More information about the fpc-pascal