中文

Rigorous design of tracers: an experiment for constraint logic programming

软件工程 2007-05-23 v1

摘要

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.

关键词

引用

@article{arxiv.cs/0310042,
  title  = {Rigorous design of tracers: an experiment for constraint logic programming},
  author = {Mireille Ducasse and Ludovic Langevine and Pierre Deransart},
  journal= {arXiv preprint arXiv:cs/0310042},
  year   = {2007}
}

备注

In M. Ronsse, K. De Bosschere (eds), proceedings of the Fifth International Workshop on Automated Debugging (AADEBUG 2003), September 2003, Ghent. cs.SE/0309027