[Lazarus] Getting sourceline from stacktrace address

Pascal Riekenberg pascal at riekenberg.eu
Mon Dec 21 20:55:25 CET 2020


Thanks! This works even better and also with direct jump to source.


Pascal

>     Martin Frb via lazarus <lazarus at lists.lazarus-ide.org> hat am 21.12.2020 20:27 geschrieben:
> 
> 
>     On 21/12/2020 20:12, Pascal Riekenberg via lazarus wrote:
> 
>         > >         Good evening,
> > 
> >         how can i get the sourceline from a stacktrace address?
> > 
> >         I use heaptrc to find a double free. The problem is that producing the stacktrace on double free
> >         also runs into the error and only produces the list of addresses. KeepReleased is not an option here
> >         due to limited memory. 48 GB is not enough ;-(
> > 
> >         Lazarus trunk, fpc trunk, x86_64, fpDebug, Dwarf3, Windows 10 20H2
> > 
> > 
> >     > If you have the exe, and the exe has debug info:
>     - paste the stacktrace into menu: View > Leaks and traces
>     - Press "Resolve" and select the exe.
>     --
>     _______________________________________________
>     lazarus mailing list
>     lazarus at lists.lazarus-ide.org
>     https://lists.lazarus-ide.org/listinfo/lazarus
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20201221/245fd5fa/attachment.html>


More information about the lazarus mailing list