[fpc-pascal] Debug information

Martin lazarus at mfriebe.de
Mon May 28 21:12:30 CEST 2012


On 27/05/2012 13:32, Rainer Stratmann wrote:
> How to get debug information?
>
> There is an error, but only adresses are shown.

How/ Where are the addresses shown?

Does your program has code of it's own, that dumps the stacktrace? 
(normally added using with -gl)
Or do you run in a debugger (gdb?)

You should note that the DumpStack function, if called by your code (AND 
if debug info is available) does dump source file and line.
BUT only up to the very first time it does encounter an address that can 
not be resolved. Once that has happened no further addresses are resolved.







More information about the fpc-pascal mailing list