Hacker News new | ask | show | jobs
by minamoto625 394 days ago
gdb should already have a similar feature?
2 comments

GDB does:

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Proce...

But it's limited. It's really cool that it's integrated by default but it doesn't scale to big applications / workloads.

RR and Undo both use GDB as a user interface, though, so any skills you have there will carry over.

A lot people don't know and don't use GDBs reverse debugging. It is an awesome and hidden feature, which more developers should know :)

All these Oh wait. I missed it...debugging sessions. and these What exactly changed over there? are answerable.

It does, but it is really sad by comparison with rr and UndoDB. You could use it to record a few function calls or perhaps if you’re lucky a whole frame of your game but not a whole program.