【24h】

Steps toward better debugging tools for LISP

机译:向LISP寻求更好的调试工具的步骤

获取原文

摘要

Although contemporary Lisp systems are renown for their excellent debugging facilities, better debugging tools are still urgently needed. A basic flaw with the tools found in most implementations is that they are oriented towards inspection of specific pieces of program or data. and they offer little help in the process of localizing bugs within a large body of code. Among conventional tools, a stepper is the best aid for visualizing the operation of a procedure in such a way that a bug can be found without prior knowledge of its location. But steppers have not been popular, largely because they are often too verbose and difficult to control.

In this paper, we present a new stepper for Lisp, Zstep. which integrates a stepper with a real-time full-screen text editor to display programs and data. Zstep presents evaluation of a Lisp expression by visually replacing the expression by its value, conforming to an intuitive model of evaluation as a substitutionprocess. The control structure of Zstep allows a user to "zoom in" on a bug. examining the program first at a very coarse level of detail, then at increasingly finer level until the bug is located. Zstep keeps a history of evaluations, and can be run either forward or backward. Zstep borrows several techniques from the author's example-oriented programming environment. Tinker. including a novel approach to handling error conditions.

机译:

尽管现代Lisp系统以其出色的调试功能而闻名,但仍迫切需要更好的调试工具。大多数实现中使用的工具的基本缺陷是,它们面向检查特定的程序或数据。并且在大量代码中对本地化错误的过程中提供的帮助很少。在常规工具中, stepper 是可视化过程操作的最佳辅助工具,其方式是无需事先知道其位置就可以发现错误。但是步进器尚未普及,主要是因为步进器过于冗长且难以控制。

在本文中,我们为Lisp提出了一种新的步进器Zstep。它将步进器与实时全屏文本编辑器集成在一起,以显示程序和数据。 Zstep通过用表达式的值在视觉上替换表达式来呈现Lisp表达式的评估,符合作为替换过程的直观评估模型。 Zstep的控件结构允许用户“放大”错误。首先以非常粗糙的细节级别检查程序,然后以越来越精细的级别进行检查,直到找到错误为止。 Zstep保留评估的历史记录,并且可以向前或向后运行。 Zstep从作者的面向示例的编程环境中借鉴了几种技术。 Tinker。包括一种处理错误情况的新颖方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号