Author Topic: Is it possible to rewind in gdb?  (Read 2699 times)

Offline visir

  • Multiple posting newcomer
  • *
  • Posts: 76
Is it possible to rewind in gdb?
« on: August 29, 2017, 09:28:52 am »
https://sourceware.org/gdb/onlinedocs/gdb/Reverse-Execution.html

Haven't seen this mentioned on the wiki. Looks like a really cool feature to me. Codeblocks supports that?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Is it possible to rewind in gdb?
« Reply #1 on: August 30, 2017, 12:42:53 am »
Nope...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Is it possible to rewind in gdb?
« Reply #2 on: August 30, 2017, 05:44:42 pm »
You can enter any arbitrary gdb command in the command line under the debugger log. But I don't know if the output parser of codeblocks catches up with all things you do there, so you may end in an non-synchronous state where codeblocks and gdb can not speak to each other anymore ....