Design and Implementation of a Tracer Driver: Easy and Efficient Dynamic Analyses of Constraint Logic Programs
Ludovic Langevine, Mireille Ducasse

TL;DR
This paper introduces a flexible and efficient tracer driver for constraint logic programming that enables multiple dynamic analysis tools to operate with minimal overhead, improving debugging and analysis capabilities.
Contribution
The paper presents a novel tracer driver architecture that allows easy implementation of multiple dynamic analysis tools with low overhead, specifically tailored for constraint logic programming.
Findings
Negligible overhead in emulating existing execution views
Good performance with flexible event pattern specification
Effective integration of dynamic analyses in constraint logic programming
Abstract
Tracers provide users with useful information about program executions. In this article, we propose a ``tracer driver''. From a single tracer, it provides a powerful front-end enabling multiple dynamic analysis tools to be easily implemented, while limiting the overhead of the trace generation. The relevant execution events are specified by flexible event patterns and a large variety of trace data can be given either systematically or ``on demand''. The proposed tracer driver has been designed in the context of constraint logic programming; experiments have been made within GNU-Prolog. Execution views provided by existing tools have been easily emulated with a negligible overhead. Experimental measures show that the flexibility and power of the described architecture lead to good performance. The tracer driver overhead is inversely proportional to the average time between two traced…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software System Performance and Reliability · Software Engineering Research
