[fpc-pascal] Debug information

Rainer Stratmann RainerStratmann at t-online.de
Mon May 28 21:35:00 CEST 2012


Am Monday 28 May 2012 21:12:30 schrieb Martin:
> 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?
The addresses were shown in the output window (console).
Runtime error 207 at $0808BE90
        $0808BE90
                   $080A0E60
                              $080A0738
                                         $08049064
                                                    $08053256
                                                               $080494F2
                                                                          
$08048F84
                                                                                     
$08048754
      $080483E3
                 $080482B3
>
> Does your program has code of it's own, that dumps the stacktrace?
No.
> (normally added using with -gl)
> Or do you run in a debugger (gdb?)
No.
>
> You should note that the DumpStack function, if called by your code (AND
> if debug info is available) does dump source file and line.
I am not familiar with that function?
> 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.
I do not understand exactly what that means.



More information about the fpc-pascal mailing list