On the weekend I was reading this blog post about using rr to debug a problem in the Julia runtime when something jumped out at me and smacked me. The author used the ‘awatch’ command… which I had never heard of.
It turns out, gdb/rr can do both write and read watchpoints; which I didn’t know! This is fantastic knowledge that will almost certainly serve me well if I can manage to remember it in the future. So I’m writing this blog post to force me to remember. I’ve definitely wanted this before, so I’m surprised I have never found this before.