paper-with-me

Papers

Debugging Non-Ground ASP Programs: Technique and Graphical Tools

2018-08-01 · Carmine Dodaro, Philip Gasteiger, Kristian Reale, Francesco Ricca, Konstantin Schekotihin

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).

📄 PDF Abstract BibTeX arXiv:1808.00417

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

An integrated Graphical User Interface for Debugging Answer Set Programs

2016-11-15 · Philip Gasteiger, Carmine Dodaro, Benjamin Musitsch, Kristian Reale 외

Answer Set Programming (ASP) is an expressive knowledge representation and reasoning framework. Due to its rather simple syntax paired with high-performance solvers, ASP is interesting for industrial applications. Howeve…

Interactive Debugging of ASP Programs

2014-03-20 · Kostyantyn Shchekotykhin

Broad application of answer set programming (ASP) for declarative problem solving requires the development of tools supporting the coding process. Program debugging is one of the crucial activities within this process. R…

Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debugging

2026-03-14 · Zhilin Liu, Ye Huang, Ting Xie, Ruizhi Zhang 외 arxiv

Recent advances in Large Language Model (LLM)-based agents have shown remarkable progress in code generation. However, current agent methods mainly rely on text-output-based feedback (e.g. command-line outputs) for multi…

Code Generation

Understanding Neural Code Intelligence Through Program Simplification

2021-06-07 · Md Rafiqul Islam Rabin, Vincent J. Hellendoorn, Mohammad Amin Alipour

A wide range of code intelligence (CI) tools, powered by deep neural networks, have been developed recently to improve programming productivity and perform program analysis. To reliably use such tools, developers often n…

Method name predictionVariable misuse

Towards a Neural Debugger for Python

2026-03-10 · Maximilian Beck, Jonas Gehring, Jannik Kossen, Gabriel Synnaeve arxiv

Training large language models (LLMs) on Python execution traces grounds them in code execution and enables the line-by-line execution prediction of whole Python programs, effectively turning them into neural interpreter…

Code Generation