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

严格设计跟踪程序:约束逻辑程序设计的一个实验

Rigorous design of tracers: an experiment for constraint logic programming

Mireille Ducasse, Ludovic Langevine, Pierre Deransart

摘要:

为了设计和实现跟踪程序,必须决定跟踪什么以及如何生成跟踪。一方面,跟踪设计常常受到实现关注的指导,并不像它们应该的那样有用。另一方面,不能有效地产生的感兴趣的轨迹也不是很有用。在这篇文章中,我们提出了一种方法,有助于有效地产生准确的痕迹。首先,设计了跟踪模型的形式化规格说明。其次,从这个规范中派生一个原型跟踪程序。第三,分析产生的痕迹。第四,实现高效的跟踪程序。最后,比较两种示踪剂的痕迹。在每一步都能发现问题,在这种情况下,人们必须重新审视这个过程。我们已经成功地应用所提出的方法来设计和实现一个真正的跟踪约束逻辑编程,这是能够有效地生成所需的信息,建立有趣的图形视图的执行。

英文摘要:

In order to design and implement tracers, one must decide what exactly to trace and how to produce this trace. On the one hand, trace designs are too often guided by implementation concerns and are not as useful as they should be. On the other hand, an interesting trace which cannot be produced efficiently, is not very useful either. In this article we propose a methodology which helps to efficiently produce accurate traces. Firstly, design a formal specification of the trace model. Secondly, derive a prototype tracer from this specification. Thirdly, analyze the produced traces. Fourthly, implement an efficient tracer. Lastly, compare the traces of the two tracers. At each step, problems can be found. In that case one has to iterate the process. We have successfully applied the proposed methodology to the design and implementation of a real tracer for constraint logic programming which is able to efficiently generate information required to build interesting graphical views of executions.

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

↑