“Intellitrace”的开源替代方案

发布于 2024-08-28 02:44:56 字数 1491 浏览 8 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

农村范ル 2024-09-04 02:44:56

我当然有偏见,但你可能想看看 Chronon

I am biased of course, but you may want to look at Chronon

简单爱 2024-09-04 02:44:56

gdb 7.0 具有一个类似功能,称为 ProcessRecord。但它缺少gui

它允许这样的事情:

Program received signal SIGSEGV, Segmentation fault.
0x00401150 in main () at try.c:3
3       printf("%d\n",*x);
(gdb) p x
$1 = 0x0
(gdb) watch x
Watchpoint 1: x
(gdb) reverse-continue
#...find out who was the last one to touch x

gdb 7.0 features a similar feature called ProcessRecord. It lacks the gui though.

It allows things like:

Program received signal SIGSEGV, Segmentation fault.
0x00401150 in main () at try.c:3
3       printf("%d\n",*x);
(gdb) p x
$1 = 0x0
(gdb) watch x
Watchpoint 1: x
(gdb) reverse-continue
#...find out who was the last one to touch x
只是我以为 2024-09-04 02:44:56

这有时称为“时间旅行调试”,因为它使您能够“回到过去”并检查程序的状态。快速谷歌搜索会发现 this talk 关于 Eclipse 对类似内容的支持(显然是从 2006 年开始的!)。

编辑:

正如 Elazar 在评论中指出的那样,eclipse 工具适用于基于 C 的开发,而不是 java。然而,Omniscient Debugger 看起来像是 Java 的临时调试器。不过,这似乎有点像一个死项目,这有点令人惊讶。

This is sometimes called 'Time travelling debugging', because it gives you the ability to 'step back in time' and check out the state of your program. A quick google search turns up this talk about eclipse support for something similar (from back in 2006 apparently!).

EDIT:

As Elazar pointed out in the comments, that eclipse tool is for C-based development, not java. However, it looks like Omniscient Debugger is a temporal debugger for Java. Seems like a bit of a dead project though, which is a bit surprising.

江湖彼岸 2024-09-04 02:44:56

您始终可以使用 AOP 框架自行破解它,例如 AspectJ - 日志记录是最常提到的之一方面。

You can always hack it yourself using AOP frameworks such as AspectJ - Logging is one of the most commonly mentioned aspects.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文