[fpc-pascal] Debug information

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Jan 13 16:32:37 CET 2015


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




More information about the fpc-pascal mailing list