Remix.run Logo
AndyKelley 4 days ago

Combined with time travel it's mind-blowing.

Stumble upon some corrupted memory? Just put a watch point on it, and run the program backwards. Two weeks just turned into two minutes.

mwcz 4 days ago | parent [-]

What time traveling debugger(s) do you recommend? I'm a regular GDB user and keep meaning to try rr.

AndyKelley 4 days ago | parent | next [-]

Since you're already a GDB user, rr will probably feel comfortably familiar.

https://rr-project.org/ already has enough example usage to get you going on the home page right there.

adgjlsfhk1 4 days ago | parent | prev [-]

rr is excellent. the only problem is it doesn't work for Windows

delta_p_delta_x 4 days ago | parent [-]

It's a little odd to use GDB on Windows. Have you considered either the Visual Studio debugger, or WinDbg?

WinDbg has time travel debugging, and is arguably 'more excellent': https://learn.microsoft.com/en-gb/windows-hardware/drivers/d...