[fpc-pascal] Recovering info from a backtrace with an external debug file

Luiz Americo Pereira Camara luizamericop at gmail.com
Thu Feb 11 14:07:15 CET 2016


2016-02-11 0:12 GMT-03:00 Martin <fpc at mfriebe.de>:

>
> Lazarus has "Leaks and Traces" in the view menu. Paste the trace, and then
> use the Button "Resolve" to load the exe with symbols. That should do.
>
> It uses a copy of the code found in infodwrf and "whatever the name of the
> unit reading stabs". Both of them (afaik) dont do dbg files. If someone has
> info how to add that, well ....
>
>
> as for gdb, you can open your exe (and if gdb finds the dbg file, then
> that should be fine.)
> if gdb loaded your dbg info, then you can do something (not tested/from
> memory)
>
> info symbol 0x54320
>
> and it prints what is at that address. Do that for each address in the trace.
>
>
Thanks.

Much helpful

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160211/1a424827/attachment.html>


More information about the fpc-pascal mailing list