[fpc-pascal] Debug information

Rainer Stratmann RainerStratmann at t-online.de
Mon May 28 20:57:44 CEST 2012


Am Sunday 27 May 2012 17:44:41 schrieb Sven Barth:
> 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.

That does not work.
I sign it in the lazarus project preferences window, but no effect.

> Regards,
> Sven
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal





More information about the fpc-pascal mailing list