[fpc-devel] RTL StackTrace patch

Fabio Dell'Aria fabio.dellaria at gmail.com
Thu Jan 17 10:19:07 CET 2008


2008/1/17, Vincent Snijders <vsnijders at quicknet.nl>:
> Fabio Dell'Aria schreef:
> > Hi to all,
> >
> > I'm writing a patch to can use an external .dbg file during the
> > debugging process.
> >
> > All works fine but when an unhandled exception is raised the RTL show
> > stacktrace without debug info (no sources line).
> >
> > How I can instruct the RTL to search the debug symbols in a
> > project.dbg file (if not found in the executable)?
> >
> Write support for it in the lineinfo and lnfodwrf units. You can find those units in
>   fpc\rtl\inc.
> Vincent

These 2 units uses the "f" and "infile" files to read the debug data,
but I cannot find the unit that assign these files.
Where can I looking for?

Best regards...

Fabio Dell'Aria.

More information about the fpc-devel mailing list