News for hackers. Stuff that matters.
Re:rr – record and replay debugger for C/C++ by AndyKelley on Sunday July 21, 2024 @05:46PM (#41028460)
I use it with Zig. It's pretty handy in conjunction with Zig's allocator because it writes 0xaa bytes upon free and doesn't reuse addresses, so it very likely causes a crash, then you can put a watchpoint on the memory and rewind to the point where it got freed.
Re:rr – record and replay debugger for C/C++ by sitkack on Sunday July 21, 2024 @06:48PM (#41029001)
That sounds really neat, is there more information on this?

*Edit

Found this, https://zig.news/david_vanderson/using-rr-to-quickly-debug-m...