arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0701107cs.PL
收藏

JavaTA:一个基于逻辑的Java编程器

JavaTA: A Logic-based Debugger for Java

Hani Girgis, Bharat Jayaraman

摘要:

本文提出了一种基于逻辑的Java程序调试方法。与传统的调试相比,我们提出了一种调试方法,Java程序使用逻辑查询的个人执行状态,也在历史上的执行。这些查询是通过我们早期研究中对面向对象程序错误的系统研究得出的。我们用一个逻辑数据库来表示Java程序执行过程中的显著事件,并将查询实现为逻辑程序。这种方法使我们能够回答一些有用的和有趣的查询有关的Java程序,如调用序列,在一定的结果,在一个特定的执行点的对象的状态等,我们的系统还提供了在调试会话期间组成新的查询的能力。我们相信,逻辑编程提供了一个面向对象的程序调试艺术的显着贡献。

英文摘要:

This paper presents a logic based approach to debugging Java programs. In contrast with traditional debugging we propose a debugging methodology for Java programs using logical queries on individual execution states and also over the history of execution. These queries were arrived at by a systematic study of errors in object-oriented programs in our earlier research. We represent the salient events during the execution of a Java program by a logic database, and implement the queries as logic programs. Such an approach allows us to answer a number of useful and interesting queries about a Java program, such as the calling sequence that results in a certain outcome, the state of an object at a particular execution point, etc. Our system also provides the ability to compose new queries during a debugging session. We believe that logic programming offers a significant contribution to the art of object-oriented programs debugging.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑