Download PDF

International Conference on Logic Programming, ICLP, Date: 2009/07/14 - 2009/07/17, Location: Pasadena, California, US

Publication date: 2009-07-01
Volume: 5649 Pages: 296 - 311
ISBN: 3642028454, 978-3-642-02845-8 ISSN: 0302-9743
Publisher: Springer

Lecture Notes in Computer Science

Author:

Wittocx, Johan
Vlaeminck, Hanne ; Denecker, Marc ; Hill, PM ; Warren, DS

Keywords:

Debugging, Knowledge representation, Science & Technology, Technology, Computer Science, Software Engineering, Computer Science, Theory & Methods, Computer Science, WELL-FOUNDED SEMANTICS, LOGIC, PROLOG

Abstract:

Due to the development of efficient solvers, declarative problem solving frameworks based on model generation are becoming more and more applicable in practice. However, there are almost no tools to support debugging in these frameworks. For several reasons, current solvers are not suitable for debugging by tracing. In this paper, we propose a new solver algorithm for one of these frameworks, namely Model Expansion, that allows for debugging by tracing. We explain how to explore the trace of this solver in order to quickly locate a bug and we compare our debugging method with existing ones for Answer Set Programming and the Alloy system.