开发者

Anyone tried reverse-debugging in gdb?

开发者 https://www.devze.com 2022-12-08 17:46 出处:网络
Has anyone tried using the new record/replay and reverse-debugging features in the newly released gdb-7.0?I am 开发者_开发问答one of the gdb developer/maintainers, and I\'m very eager for user feedbac

Has anyone tried using the new record/replay and reverse-debugging features in the newly released gdb-7.0? I am 开发者_开发问答one of the gdb developer/maintainers, and I'm very eager for user feedback!


Well, there is now a tutorial to help you get started: http://www.sourceware.org/gdb/wiki/ProcessRecord/Tutorial


Hi I tried it briefly. It make life a lot easier for the cases where either I screwed up some thing while debugging or for run-many-times-find-me bugs


This definitely deserved more attention -- the reverse debugging feature ROCK FREAKING HARD. No sweat. Great work!

For a practical real-world use (and a problem with reverse-debugging), see

In GDB, how to find out who malloc'ed an address on the heap?

(Problem: it doesn't seem to support any IO (printf(), etc.) which makes it practically useless.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号