[fpc-pascal] Debug information

Sven Barth pascaldragon at googlemail.com
Sun May 27 17:44:41 CEST 2012


On 27.05.2012 14:32, Rainer Stratmann wrote:
> How to get debug information?
>
> There is an error, but only adresses are shown.
>
> I put on debugger Information in Lazarus (-g) but can get no further infos
> when an error occurs (except the adresses).
>
> Lazarus 0.9.30
> fpc 2.4.2

You also need to enable line information using "-gl". Debug information 
itself is only useful for stepping through an application using a 
debugger. The line information is the one you seek.

Regards,
Sven




More information about the fpc-pascal mailing list