[fpc-pascal] Debug information

Rainer Stratmann RainerStratmann at t-online.de
Tue Sep 11 13:32:37 CEST 2012


Am Tuesday 11 September 2012 12:05:02 schrieb Mark Morgan Lloyd:
> Rainer Stratmann wrote:
> > I found out that there is no line information shown (-gl) if an error
> > occurs (more or less shortly) after the program loads a dynamic library.
> >
> > This same behaviour happens with fpc version 2.4.2-0 and 2.6.0.
> >
> > If no library is loaded line information is shown.
> > The error adresses are the same in both cases.
>
> What OS?
Linux
> Are you expecting a line number associated with code in the 
> calling program or the .DLL/.so?
Expecting: line xxx of yyy.pas
But when loading a library only adresses are shown.
> What has caused the error
simple access violation
> - is the calling convention etc. correct?
I hope so because the program runs 24/7 in some places in eurpoe.



More information about the fpc-pascal mailing list