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).

IIRC this is to avoid issues if an error occurred while getting line info. But not sure.

So if your first address is not in code with debug info, then that is it.

If you run in the debugger, or resolve with leak-view then this will not happen. But ofcourse if the error occurs with either a corrupted stack, or in some code (e.g system kernal) that does not use stackframes then the stack can not always be parsed.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to