首页> 外文OA文献 >Virtual Machine Based Debugging for occam-pi
【2h】

Virtual Machine Based Debugging for occam-pi

机译:occam-pi的基于虚拟机的调试

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

While we strive to create robust language constructs and design patterns which prevent the introduction of faults during software development, an inevitable element of human error still remains. We must therefore endeavor to ease and accelerate the process of diagnosing and fixing software faults, commonly known as 'debugging'. Current support for debugging occam-pi programs is fairly limited. At best the developer is presented with a reference to the last known code line executed before their program abnormally terminated. This assumes the program does in fact terminate, and does not instead live-lock. In cases where this support is not sufficient, developers must instrument their own tracing support, ``printf style''. An exercise which typically enlightens one as to the true meaning of concurrency... In this paper we explore previous work in the field of debugging occam programs and introduce a new method for run-time monitoring of occam-pi applications, based on the Transterpreter virtual machine interpreter. By adding a set of extensions to the Transterpreter, we give occam-pi processes the ability to interact with their execution environment. Use of a virtual machine allows us to expose program execution state which would otherwise require non-portable or specialised hardware support. Using a model which bears similarities to that applied when debugging embedded systems with a JTAG connection, we describe debugging occam-pi by mediating the execution of one execution process from another.
机译:尽管我们努力创建健壮的语言构造和设计模式,以防止在软件开发过程中引入错误,但人为错误仍然不可避免。因此,我们必须努力简化和加速诊断和修复软件故障(通常称为“调试”)的过程。当前对调试occam-pi程序的支持非常有限。充其量,可以为开发人员提供对在其程序异常终止之前执行的最后一个已知代码行的引用。这假定程序实际上确实终止了,而不是实时锁定。如果这种支持还不够,开发人员必须使用自己的跟踪支持``printf样式''。一项通常启发人们理解并发真正含义的练习...在本文中,我们探讨了在occam程序调试领域中的先前工作,并基于Transterpreter引入了一种用于监视occam-pi应用程序的新方法。虚拟机解释器。通过向Transterpreter添加一组扩展,我们使occam-pi进程能够与其执行环境进行交互。使用虚拟机使我们能够公开程序执行状态,否则该状态将需要不可移植或专用的硬件支持。使用与调试带有JTAG连接的嵌入式系统时所应用的模型具有相似性的模型,我们通过中介一个执行过程与另一个执行过程的执行来描述occam-pi的调试。

著录项

  • 作者单位
  • 年度 2008
  • 总页数
  • 原文格式 PDF
  • 正文语种 {"code":"en","name":"English","id":9}
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号