ArĂ­ Ricardo Ody wrote:
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


(Quickly typed in the editor, so not checked by the compiler)
In LCL applications:

uses LCLProc;

...

procedure DoSomething;
begin
  try
    // your code here
  except
    DumpExceptionBackTrace;
  end;
end;

Vincent
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to