spock: A Debugging Support Tool for Logic Programs under the Answer-Set Semantics

  • Authors:
  • Martin Gebser;Jörg Pührer;Torsten Schaub;Hans Tompits;Stefan Woltran

  • Affiliations:
  • Institut für Informatik, Universität Potsdam, Potsdam, Germany D-14482;Institut für Informationssysteme, Technische Universität Wien, Vienna, Austria A---1040;Institut für Informatik, Universität Potsdam, Potsdam, Germany D-14482;Institut für Informationssysteme, Technische Universität Wien, Vienna, Austria A---1040;Institut für Informationssysteme, Technische Universität Wien, Vienna, Austria A---1040

  • Venue:
  • Applications of Declarative Programming and Knowledge Management
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Answer-set programming (ASP) is an emerging logic-programming paradigm that strictly separates the description of a problem from its solving methods. Despite its semantic elegance, ASP suffers from a lack of support for program developers. In particular, tools are needed that help engineers in detecting erroneous parts of their programs. Unlike in other areas of logic programming, applying tracing techniques for debugging logic programs under the answer-set semantics seems rather unnatural, since employing imperative solving algorithms would undermine the declarative flavour of ASP. In this paper, we present the system spock , a debugging support tool for answer-set programs making use of ASP itself. The implemented techniques maintain the declarative nature of ASP within the debugging process and are independent of the actual computation of answer sets.