...
首页> 外文期刊>Journal of Logic and Algebraic Programming >Declarative debugging of concurrent Erlang programs
【24h】

Declarative debugging of concurrent Erlang programs

机译:并发Erlang程序的声明式调试

获取原文
获取原文并翻译 | 示例
           

摘要

Despite the growing number of concurrent applications in nowadays systems, debugging concurrent programs remains an open issue due to its intrinsic complexity. In this work, we present a declarative debugger for the concurrent language Erlang. Following the ideas of algorithmic debugging, our tool asks questions to the user about the validity of transitions between those program points that involve message passing, and also about the expected results of the function calls occurred during the computation. The differences between the user answers, which represent the intended behavior of the program, and the actual program execution, allow the debugger to detect the function responsible for the error, and to point out the pieces of source code responsible for the bugs. The proposal is based on a concurrent calculus for Erlang programs, and we show a benchmark that assesses its scalability both in terms of resources usage and considering the number of questions asked to the user and their complexity. Furthermore, we check the usability of our proposal, applying the debugger to the Erlang library poolboy. (C) 2018 Elsevier Inc. All rights reserved.
机译:尽管当今系统中并发应用程序的数量不断增加,但是由于并发程序固有的复杂性,调试并发程序仍然是一个未解决的问题。在这项工作中,我们为并发语言Erlang提供了一个声明式调试器。遵循算法调试的思想,我们的工具向用户询问有关涉及消息传递的程序点之间转换的有效性,以及有关在计算过程中发生的函数调用的预期结果的问题。用户答案(代表程序的预期行为)与实际程序执行之间的差异,使调试器可以检测到导致错误的功能,并指出导致错误的源代码。该提议基于针对Erlang程序的并发演算,并且我们展示了一个基准,该基准可以从资源使用方面,考虑向用户提出的问题数量及其复杂性方面评估其可伸缩性。此外,我们将调试器应用于Erlang库poolboy,以检查提案的可用性。 (C)2018 Elsevier Inc.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号