Catching the Ouroboros: On Debugging Non-Ground Answer-Set Programs
Source: Vienna University of Technology
An important issue towards a broader acceptance of Answer-Set Programming (ASP) is the deployment of tools which support the programmer during the coding phase. In particular, methods for debugging an answer-set program are recognised as a crucial step in this regard. Initial work on debugging in ASP mainly focused on propositional programs, yet practical debuggers need to handle programs with variables as well. This paper discusses a debugging technique that is directly geared towards non-ground programs. Following previous work, the paper addresses the central debugging question why some interpretation is not an answer set. The explanations provided by the method are computed by means of a meta-programming technique, using a uniform encoding of a debugging request in terms of ASP itself.