[fpc-pascal] Debug information

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Tue Sep 11 12:05:02 CEST 2012


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? Are you expecting a line number associated with code in the 
calling program or the .DLL/.so? What has caused the error- is the 
calling convention etc. correct?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list