我一直在寻找在进行 Java 调试时是否可以回溯的答案。例如,如果我有代码:
int x = 1
int y = 0
//Exception will happen here
int z = x/y
如果我遇到异常,我想返回。 不仅像删除框架,还恢复对堆所做的实际更改。 目前可以吗?
提前致谢。
最佳答案
有一个名为 Chronon Time Travelling Debugger 的工具
它声称...
Overview
The Chronon Time Travelling Debugger allows you to playback Chronon recordings and easily find root cause of defects. It is specifically built from the ground up to allow debugging of long running programs that run for days/months and are highly multithreaded.
The debugger plugs seamlessly into Eclipse adapting itself naturally to your workflow. You can also use the Eclipse integration of the Chronon Debugger to easily record programs on your development machines from within Eclipse.
关于java - Java 调试中的回溯,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8725757/