[fpc-pascal] Debug information
Rainer Stratmann
rainerstratmann at t-online.de
Wed Jan 14 12:11:34 CET 2015
Linux Platform.
In the past there was a discussion about it already.
It may has to do with dynamic loaded library?
On Tuesday 13 January 2015 16:32:37 you wrote:
> On 13 Jan 2015, at 16:14, Martin Frb wrote:
> > On 13/01/2015 14:40, Rainer Stratmann wrote:
> >> Can not get debug information
> >>
> >> -g -gl -gw
> >>
> >> switched on
> >>
> >> but no further information (line nr) is displayed when an error
> >> occured.
> >
> > -gl has a "feature" it prints the stack info, until it finds an
> > address for which there is no stack info (e.g. in the rtl, if the
> > rtl was not compiled with info).
>
> No, it only stops printing line info for both the current and all
> future backtraces if an error occurs during the reading/decoding of
> the line information. If no line info is found for a particular
> address, nothing special happens.
>
> However, -gl is not fully functional on platforms. E.g., it doesn't
> work for DWARF on (Mac) OS X.
>
>
> Jonas
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list