[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: current status about last bugs
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 8 Jul 2020 17:21:34 -0300
> I assume you're already doing so, but just in case, the `rr` debug tool is
> exceedingly helpful when trying to diagnose this kind of thing. You can
> walk forward and backward and replay the execution of a failing test case
> over and over until you diagnose what happened. If you're comfortable
> with `gdb` but really wish you could put a watchpoint on the address
> of a variable which was definitely corrupted by the time the crash happened
> and then `reverse-continue` until that corruption goes away, the `rr` is
> what you need.
>
> If I'm already preaching to the choir here, then I apologise :D
Not at all! I was still using gdb :-). I will try rr. Many thanks,
-- Roberto