1

This question already has an answer here:

In Ida when I use debugger, but I can't step back.

Is there any debugger that allow go backwards?

marked as duplicate by perror, Paweł Łukasik, 0xC0000022L Jan 15 at 12:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What you're looking for is typically called replay debugging and is supported by GDB 7 and newer and since 2017 by the store version of WinDbg (they call it something else, though). But your question as it stands is eliciting recommendations/opinions, so not a good fit for Q&A. I recommend you ask on softwarerecs.SE and we close this one. – 0xC0000022L Jan 15 at 9:57
0

In general, stepping back for a debugger is a hard problem. gdb has a limited step back feature but it comes with a cost, see here.

But, when you think about it, the whole difficulty solved by the programmer when debugging is to step-back until it reach the bug. This is the whole difficulty and we do not have a nice and automated solution for it right now.

Not the answer you're looking for? Browse other questions tagged or ask your own question.