首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Multiverse Debugging: Non-Deterministic Debugging for Non-Deterministic Programs (Brave New Idea Paper)
【24h】

Multiverse Debugging: Non-Deterministic Debugging for Non-Deterministic Programs (Brave New Idea Paper)

机译:多宇宙调试:非确定性程序的非确定性调试(勇敢的新想法论文)

获取原文
           

摘要

Many of today's software systems are parallel or concurrent. With the rise of Node.js and more generally event-loop architectures, many systems need to handle concurrency. However, its non-deterministic behavior makes it hard to reproduce bugs. Today's interactive debuggers unfortunately do not support developers in debugging non-deterministic issues. They only allow us to explore a single execution path. Therefore, some bugs may never be reproduced in the debugging session, because the right conditions are not triggered. As a solution, we propose multiverse debugging, a new approach for debugging non-deterministic programs that allows developers to observe all possible execution paths of a parallel program and debug it interactively. We introduce the concepts of multiverse breakpoints and stepping, which can halt a program in different execution paths, i.e. universes. We apply multiverse debugging to AmbientTalk, an actor-based language, resulting in Voyager, a multiverse debugger implemented on top of the AmbientTalk operational semantics. We provide a proof of non-interference, i.e., we prove that observing the behavior of a program by the debugger does not affect the behavior of that program and vice versa. Multiverse debugging establishes the foundation for debugging non-deterministic programs interactively, which we believe can aid the development of parallel and concurrent systems.
机译:当今许多软件系统是并行或并发的。随着Node.js和更常见的事件循环体系结构的兴起,许多系统需要处理并发。但是,其不确定的行为使其难以重现错误。不幸的是,当今的交互式调试器不支持开发人员调试非确定性问题。它们仅允许我们探索单个执行路径。因此,某些错误可能永远不会在调试会话中重现,因为没有触发正确的条件。作为解决方案,我们提出了多宇宙调试,这是一种用于调试不确定性程序的新方法,它使开发人员可以观察并行程序的所有可能执行路径并进行交互式调试。我们介绍了多重断点和步进的概念,它们可以使程序停在不同的执行路径(即Universe)中。我们对基于角色的语言AmbientTalk应用了多宇宙调试,从而产生了Voyager,这是在AmbientTalk操作语义之上实现的多宇宙调试器。我们提供了无干扰的证明,即,我们证明了调试器观察程序的行为不会影响该程序的行为,反之亦然。多宇宙调试为交互式地确定性程序进行调试奠定了基础,我们认为这有助于并行和并发系统的开发。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号