[Lazarus] Getting sourceline from stacktrace address

Martin Frb lazarus at mfriebe.de
Mon Dec 21 20:27:52 CET 2020

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20201221/d3acf4c6/attachment.html>

More information about the lazarus mailing list