A Tracer Driver for Versatile Dynamic Analyses of Constraint Logic Programs
Abstract
Programs with constraints are hard to debug. In this paper, we describe a general architecture to help develop new debugging tools for constraint programming. The possible tools are fed by a single general-purpose tracer. A tracer-driver is used to adapt the actual content of the trace, according to the needs of the tool. This enables the tools and the tracer to communicate in a client-server scheme. Each tool describes its needs of execution data thanks to event patterns. The tracer driver scrutinizes the execution according to these event patterns and sends only the data that are relevant to the connected tools. Experimental measures show that this approach leads to good performance in the context of constraint logic programming, where a large variety of tools exists and the trace is potentially huge.
- Publication:
-
arXiv e-prints
- Pub Date:
- August 2005
- DOI:
- 10.48550/arXiv.cs/0508105
- arXiv:
- arXiv:cs/0508105
- Bibcode:
- 2005cs........8105L
- Keywords:
-
- Computer Science - Software Engineering;
- D.2;
- D.2.5;
- D.2.6
- E-Print:
- In A. Serebrenik and S. Munoz-Hernandez (editors), Proceedings of the 15th Workshop on Logic-based methods in Programming Environments, October 2005, Spain. Whole proceedings: cs.PL/0508078. 15 pages