Debug2Fix: Can Interactive Debugging Help Coding Agents Fix More Bugs?
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
While significant progress has been made in automating various aspects of software development through coding agents, there is still significant room for improvement in their bug fixing capabilities. Debugging and investigation of runtime behavior remains largely a manual, developer-driven process. Popular coding agents typically rely on either static analysis of the code or iterative test-fix cycles, which is akin to trial and error debugging. We posit that there is a wealth of rich runtime information that developers routinely access while debugging code, which agents are currently deprived of due to design limitations. Despite how prevalent debuggers are in modern IDEs and command-line tools, they have surprisingly not made their way into coding agents. In this work, we introduce Debug2Fix, a novel framework that incorporates interactive debugging as a core component of a software engineering agent via a subagent architecture. We incorporate debuggers for Java and Python into our agent framework and evaluate against GitBug-Java and SWE-Bench-Live and achieve >20% improvement in performance compared to the baseline for certain models. Furthermore, using our framework, we're able to make weaker models like GPT-5 and Claude Haiku 4.5 match or exceed the performances of stronger models like Claude Sonnet 4.5, showing that better tool design is often just as important as switching to a more expensive model. Finally, we conduct systematic ablations demonstrating the importance of both the subagent architecture and debugger integration.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 27 references that are in the map. First posted on arXiv 20 Feb 2026.
Builds on
19 of 27 references.
Closest ancestors · 7
Same direction, newest first
- 2025Saving SWE-Bench: A Benchmark Mutation Approach for Realistic Agent Evaluation10 Oct
- 2025debug-gym: A Text-Based Environment for Interactive Debugging27 Mar
- 2024MASAI: Modular Architecture for Software-engineering AI Agents17 Jun
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving18 May
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging26 Apr
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Ahead7 Apr
Other references · 12
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
- 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 47
- 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reasoncited by 47
- 2025LiveMCPBench: Can Agents Navigate an Ocean of MCP Tools?cited by 47
- 2023Explainable Automated Debugging via Large Language Model-driven Scientific Debuggingcited by 40
- 2024AutoDev: Automated AI-Driven Developmentcited by 24
- 2024GitBug-Java: A Reproducible Benchmark of Recent Java Bugscited by 13
- 2024ChatDBG: Augmenting Debugging with Large Language Modelscited by 9
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026AgentStepper: Interactive Debugging of Software Development Agents
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysis
- 2025Agent That Debugs: Dynamic State-Guided Vulnerability Repair
- 2026Evaluating Agentic Code Repair Capabilities in Distributed Systems
- 2026AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents
- 2025PerfBench: Can Agents Resolve Real-World Performance Bugs?
- 2025InspectCoder: Dynamic Analysis-Enabled Self Repair through interactive LLM-Debugger Collaboration
- 2025Interactive Debugging and Steering of Multi-Agent AI Systems