arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.05719cs.PL
收藏

因果一致可逆调试:改进 CauDEr

Causal-Consistent Reversible Debugging: Improving CauDEr

Juan José González-Abril, Germán Vidal

AI总结:

本文扩展了 Erlang 因果一致可逆调试框架,使其直接支持源程序并融合用户驱动调试与重放调试,开发了新版工具 CauDEr。

摘要:

因果一致可逆调试允许人们前后探索并发计算,以定位错误的来源。在这种设定下,只要满足“因果一致”条件,即所有依赖于我们想要撤销的动作的动作都已经被撤销,就可以自由选择向后步骤。本文考虑在函数式并发语言 Erlang 中实现因果一致可逆调试的框架。该框架考虑将程序翻译成一种称为 Core Erlang 的中间表示。尽管使用这种中间表示简化了形式化定义及其在调试工具中的实现,但选择 Core Erlang 也使调试器的使用变得复杂。在本文中,我们扩展了该框架以处理 Erlang 源程序,同时还包括一些以前未考虑的特性。此外,我们将两种现有方法(用户驱动调试和重放调试)集成到一个更通用的框架中,并开发了新版本的调试工具 CauDEr,包含上述所有扩展以及焕然一新的用户界面。

英文摘要:

Causal-consistent reversible debugging allows one to explore concurrent computations back and forth in order to locate the source of an error. In this setting, backward steps can be chosen freely as long as they are "causal consistent", i.e., as long as all the actions that depend on the action we want to undo have been already undone. Here, we consider a framework for causal-consistent reversible debugging in the functional and concurrent language Erlang. This framework considered programs translated to an intermediate representation, called Core Erlang. Although using such an intermediate representation simplified both the formal definitions and their implementation in a debugging tool, the choice of Core Erlang also complicated the use of the debugger. In this paper, we extend the framework in order to deal with source Erlang programs, also including some features that were not considered before. Moreover, we integrate the two existing approaches (user-driven debugging and replay debugging) into a single, more general framework, and develop a new version of the debugging tool CauDEr including all the mentioned extensions as well as a renovated user interface.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑