patch [Re: [fpc-devel] time for dumping stacktrace, when using dwarf.]
Michael Van Canneyt
michael at freepascal.org
Sat Nov 14 11:16:05 CET 2009
On Sat, 14 Nov 2009, Martin wrote:
> Martin wrote:
>> I'll have to withdraw it.
>>
>> I have no idea how I compiled an exe that actually did not crash when
>> dumping a stack (yes I had one.). but the patch doesn't work.
>
> I had that right,, just the debugger confused me the way it displayed the
> values.
>
> Attached patch works here, and dumps 15 frames in between 1 and 2 secs.
I committed the patch. Thank you.
I don't think that the thread-safety is something to worry about at this time;
As you remark, the code was already not thread-safe. But it is something to
keep in mind. In the meanwhile, we can at least enjoy the increase in speed.
Michael.
More information about the fpc-devel
mailing list