How to do bidirectional or reverse debugging of programs?

前端 未结 11 2060
南方客
南方客 2020-12-02 21:29

Has anyone actually used a reversable debugger? The only product that Google turns up is UndoDB. It is for apparently for Linux only.

11条回答
  •  旧巷少年郎
    2020-12-02 21:48

    I am using UndoDB on Linux instead of plain gdb for every debugging session. Reverse debugging is very useful and speeds up debugging significantly. You can start debugging from the symptom of the problem (e.g. assertion failure or some wrong message is printed) and debug backwards in time, looking for the root cause of the problem.

提交回复
热议问题