Re: [Lazarus] Getting sourceline from stacktrace address

2020-12-21 Thread Martin Frb via lazarus
On 21/12/2020 21:33, Pascal Riekenberg via lazarus wrote: The resolved lines from the heaptrc should also jump to source. Yes, works like a charm ;-) What about resolving to exe of current project instead of searching for exe manualy, at least as option? Its an idea, yes. The original use

Re: [Lazarus] Getting sourceline from stacktrace address

2020-12-21 Thread Martin Frb via lazarus
On 21/12/2020 20:55, Pascal Riekenberg via lazarus wrote: Thanks! This works even better and also with direct jump to source. The resolved lines from the heaptrc should also jump to source. If not, can I have examples? And  a screenshot what was shown after resolve (or the exe to resolve

Re: [Lazarus] Getting sourceline from stacktrace address

2020-12-21 Thread Pascal Riekenberg via lazarus
Thanks! This works even better and also with direct jump to source. Pascal > Martin Frb via lazarus 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

Re: [Lazarus] Getting sourceline from stacktrace address

2020-12-21 Thread Pascal Riekenberg via lazarus
Thanks! That works. But with many manual copy and paste. Pascal > Luca Olivetti via lazarus hat am 21.12.2020 > 20:21 geschrieben: > > > El 21/12/20 a les 20:12, Pascal Riekenberg via lazarus ha escrit: > > Good evening, > > > > how can i get the sourceline from a stacktrace address? > >

Re: [Lazarus] Getting sourceline from stacktrace address

2020-12-21 Thread Martin Frb via lazarus
On 21/12/2020 20:27, Martin Frb via lazarus wrote: 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 if you

Re: [Lazarus] Getting sourceline from stacktrace address

2020-12-21 Thread Martin Frb via lazarus
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.

Re: [Lazarus] Getting sourceline from stacktrace address

2020-12-21 Thread Luca Olivetti via lazarus
El 21/12/20 a les 20:12, Pascal Riekenberg via lazarus ha escrit: 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

[Lazarus] Getting sourceline from stacktrace address

2020-12-21 Thread Pascal Riekenberg via lazarus
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