mlsanityData to 7 Oct 2026

Explainable Automated Debugging via Large Language Model-driven Scientific Debugging

arXiv 2304.02195 ↗First posted 5 Apr 2023cs.SEcited by 40

Not on the map. Why?

Cited by 21 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Automated debugging techniques have the potential to reduce developer effort in debugging, and have matured enough to be adopted by industry. However, one critical issue with existing techniques is that, while developers want rationales for the provided automatic debugging results, existing techniques are ill-suited to provide them, as their deduction process differs significantly from that of human developers. Inspired by the way developers interact with code when debugging, we propose Automated Scientific Debugging (AutoSD), a technique that given buggy code and a bug-revealing test, prompts large language models to automatically generate hypotheses, uses debuggers to actively interact with buggy code, and thus automatically reach conclusions prior to patch generation. By aligning the reasoning of automated debugging more closely with that of human developers, we aim to produce intelligible explanations of how a specific patch has been generated, with the hope that the explanation will lead to more efficient and accurate developer decisions. Our empirical analysis on three program repair benchmarks shows that AutoSD performs competitively with other program repair baselines, and that it can indicate when it is confident in its results. Furthermore, we perform a human study with 20 participants, including six professional developers, to evaluate the utility of explanations from AutoSD. Participants with access to explanations could judge patch correctness in roughly the same time as those without, but their accuracy improved for five out of six real-world bugs studied: 70% of participants answered that they wanted explanations when using repair tools, while 55% answered that they were satisfied with the Scientific Debugging presentation.

Key facts. Cited by 40 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Apr 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 6; 2024: 12; 2025: 17; 2026: 5.

40 papers.

Sort:

By area:

  1. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  2. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
  3. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
  4. 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
  5. 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
  6. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
  7. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
  8. 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
  9. 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 26
  10. 2024XAI meets LLMs: A Survey of the Relation between Explainable AI and Large Language Modelscited by 23
  11. 2024An Empirical Study on LLM-based Agents for Automated Bug Fixingcited by 23
  12. 2024Beyond pip install: Evaluating LLM Agents for the Automated Installation of Python Projectscited by 21
28 more
  1. 2025EvoC2Rust: A Skeleton-guided Framework for Project-Level C-to-Rust Translationcited by 18
  2. 2025Large Language Models (LLMs) for Source Code Analysis: applications, models and datasetscited by 15
  3. 2023GPT-Based Models Meet Simulation: How to Efficiently Use Large-Scale Pre-Trained Language Models Across Simulation Taskscited by 14
  4. 2023Towards Autonomous Testing Agents via Conversational Large Language Modelscited by 13
  5. 2024ChatDBG: Augmenting Debugging with Large Language Modelscited by 9
  6. 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomycited by 8
  7. 2025Hallucination to Consensus: Multi-Agent LLMs for End-to-End JUnit Test Generationcited by 8
  8. 2025Agent That Debugs: Dynamic State-Guided Vulnerability Repaircited by 7
  9. 2025Tuning LLM-based Code Optimization via Meta-Prompting: An Industrial Perspectivecited by 7
  10. 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunitiescited by 7
  11. 2025Code Copycat Conundrum: Demystifying Repetition in LLM-based Code Generationcited by 4
  12. 2025Past, Present, and Future of Bug Tracking in the Generative AI Eracited by 4
  13. 2023Will Code Remain a Relevant User Interface for End-User Programming with Generative AI Models?cited by 3
  14. 2025DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Informationcited by 3
  15. 2024S3LLM: Large-Scale Scientific Software Understanding with LLMs using Source, Metadata, and Documentcited by 2
  16. 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
  17. 2023Redundancy and Concept Analysis for Code-trained Language Modelscited by 1
  18. 2024Assessing the Code Clone Detection Capability of Large Language Modelscited by 1
  19. 2025Towards Adaptive Software Agents for Debuggingcited by 1
  20. 2025AutoCodeSherpa: Symbolic Explanations in AI Coding Agentscited by 1
  21. 2026Debug2Fix: Can Interactive Debugging Help Coding Agents Fix More Bugs?cited by 1
  22. 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysiscited by 1
  23. 2025Unlocking a New Rust Programming Experience: Fast and Slow Thinking with LLMs to Conquer Undefined Behaviorscited by 0
  24. 2025Beyond Autocomplete: Designing CopilotLens Towards Transparent and Explainable AI Coding Agentscited by 0
  25. 2025Post-hoc LLM-Supported Debugging of Distributed Processescited by 0
  26. 2025DebugTA: An LLM-Based Agent for Simplifying Debugging and Teaching in Programming Educationcited by 0
  27. 2026MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repaircited by 0
  28. 2026SWE-Game: Can Coding Agents Build the Games We Want?cited by 0