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

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


2016-02-11 0:06 GMT-03:00 Luiz Americo Pereira Camara <
luizamericop at gmail.com>:

>
>
> 2016-02-10 23:59 GMT-03:00 <wkitty42 at windstream.net>:
>
>> On 02/10/2016 09:47 PM, Luiz Americo Pereira Camara wrote:
>>
>>>
>>> How to get the line number, method names of the backtrace using the
>>> external
>>> debug file?
>>>
>>
>> my first eWAG gut response is to distribute the DBG file with the
>> executable...
>>
>>
> Thanks
>
> But that will not help, the backtrace will still be generated without
> info, just address
>
>
My apologies.

After some testing, i found that when the dbg file is in the same dir as
the executable, the calltrace is show with lineinfo. Seems that fpc
generates code to find the debug info.

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


More information about the fpc-pascal mailing list