java - Java 调试中的回溯

标签 java debugging backtrace

我一直在寻找在进行 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/

相关文章:

java - 在枚举字段 (DB​​) 中插入字符串值 (java) 时获取 "Data truncated for column"

c++ - 如何调试挂起(死锁)的 C++ 多线程应用程序?

php - 引用 - 这个错误在 PHP 中意味着什么?

macos - 来自 CA_DEBUG_TRANSACTIONS 的更长回溯

java - 可执行jar找不到资源

java - 有没有办法将 java 中的字符串或字符字段转换为数学运算符?

android - 运行时无命令输出 : 'am start -n

c++ - 是什么导致无法在 DWARF perf 调用堆栈中展开?

c++ - sh4-linux 上的回溯返回一个函数

java - 无法让 Java 信任我的自签名证书