Debugging Non-Ground ASP Programs: Technique and Graphical Tools
Not on the map. Why?
Abstract (arXiv)
Answer Set Programming (ASP) is one of the major declarative programming paradigms in the area of logic programming and non-monotonic reasoning. Despite that ASP features a simple syntax and an intuitive semantics, errors are common during the development of ASP programs. In this paper we propose a novel debugging approach allowing for interactive localization of bugs in non-ground programs. The new approach points the user directly to a set of non-ground rules involved in the bug, which might be refined (up to the point in which the bug is easily identified) by asking the programmer a sequence of questions on an expected answer set. The approach has been implemented on top of the ASP solver WASP. The resulting debugger has been complemented by a user-friendly graphical interface, and integrated in ASPIDE, a rich IDE for answer set programs. In addition, an empirical analysis shows that the new debugger is not affected by the grounding blowup limiting the application of previous approaches based on meta-programming. Under consideration in Theory and Practice of Logic Programming (TPLP).
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 1 Aug 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 2; 2024: 0; 2025: 1; 2026: 1.
8 papers.
- 2021Rushing and Strolling among Answer Sets -- Navigation Made Easycited by 9
- 2023Current and Future Challenges in Knowledge Representation and Reasoningcited by 1
- 2023Explanations for Answer Set Programmingcited by 1
- 2025An ASP-Based Framework for MUSescited by 1
- 2022Task planning and explanation with virtual actionscited by 0
- 2022ValAsp: a tool for data validation in Answer Set Programmingcited by 0
- 2022Planning and Scheduling in Digital Health with Answer Set Programmingcited by 0
- 2026An XAI View on Explainable ASP: Methods, Systems, and Perspectivescited by 0
- 2026An XAI View on Explainable ASP: Methods, Systems, and Perspectives21 Jan 2026
- 2025An ASP-Based Framework for MUSes5 Jul 2025
- 2023Explanations for Answer Set Programming30 Aug 2023
- 2023Current and Future Challenges in Knowledge Representation and Reasoning8 Aug 2023
- 2022Planning and Scheduling in Digital Health with Answer Set Programming5 Aug 2022
- 2022ValAsp: a tool for data validation in Answer Set Programming19 Feb 2022
- 2022Task planning and explanation with virtual actions10 Jan 2022
- 2021Rushing and Strolling among Answer Sets -- Navigation Made Easy14 Dec 2021