lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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