I started using gdb in emacs for debugging, and documenting my learning journey in this topic/thread : Debugging Odin using gdb
I also want to try out rr now that gdb works with odin build . -debug -o:none
, that should allow reversible-debugging.
Like to use reverse-continue to identify the last writer to a watched variable, etc.
Example in that lightning talk : https://youtu.be/PorfLSr3DDI?si=JVqz1OZtRYrlYFcD&t=522
Why rr? Seems like rr is quite faster then gdb’s from what I’ve read. I’ll have to try both and compare too.
Have a great week