首页> 外文期刊>Autonomous agents and multi-agent systems >Designing a source-level debugger for cognitive agent programs
【24h】

Designing a source-level debugger for cognitive agent programs

机译:为认知代理程序设计源代码级调试器

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

摘要

When an agent program exhibits unexpected behaviour, a developer needs to locate the fault by debugging the agent's source code. The process of fault localisation requires an understanding of how code relates to the observed agent behaviour. The main aim of this paper is to design a source-level debugger that supports single-step execution of a cognitive agent program. Cognitive agents execute a decision cycle in which they process events and derive a choice of action from their beliefs and goals. Current state-of-the-art debuggers for agent programs provide insight in how agent behaviour originates from this cycle but less so in how it relates to the program code. As relating source code to generated behaviour is an important part of the debugging task, arguably, a developer also needs to be able to suspend an agent program on code locations. We propose a design approach for single-step execution of agent programs that supports both code-based as well as cycle-based suspension of an agent program. This approach results in a concrete stepping diagram ready for implementation and is illustrated by a diagram for both the Goal and Jason agent programming languages, and a corresponding full implementation of a source-level debugger for Goal in the Eclipse development environment. The evaluation that was performed based on this implementation shows that agent programmers prefer a source-level debugger over a purely cycle-based debugger.
机译:当代理程序表现出意外的行为时,开发人员需要通过调试代理的源代码来定位故障。故障定位过程需要了解代码与观察到的代理行为之间的关系。本文的主要目的是设计一种源代码级调试器,该调试器支持认知代理程序的单步执行。认知主体执行决策周期,在决策周期中,他们处理事件并从其信念和目标中得出行动的选择。当前用于代理程序的最新调试器可提供有关代理行为如何源自此周期的见解,而不能深入了解代理行为与程序代码的关系。由于将源代码与生成的行为相关联是调试任务的重要部分,因此,可以说,开发人员还需要能够在代码位置挂起代理程序。我们提出了一种用于代理程序的单步执行的设计方法,该方法支持基于代码以及基于周期的代理程序挂起。这种方法导致准备好具体的步骤图,并由Goal和Jason代理编程语言的图说明,并在Eclipse开发环境中针对Goal的源代码级调试器的相应完整实现。基于此实现进行的评估表明,代理程序员比纯基于周期的调试器更喜欢源代码级的调试器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号