paperbot · PL 论文追踪

全部论文 待读 收藏

Debug2Fix: Can Interactive Debugging Help Coding Agents Fix More Bugs?

Debug2Fix:交互式调试能帮助编程智能体修复更多缺陷吗?
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 1 inbox
Spandan Garg, Yufan Huang
crossref: 2026-10-09

AI 速览

一句话:提出 Debug2Fix,把交互式调试器以子智能体架构集成进编程智能体,显著提升 Java/Python 缺陷修复能力。

编程智能体在软件开发自动化上进展显著,但缺陷修复能力仍有较大提升空间:调试与运行时行为探查基本仍是开发者手工完成的过程。现有流行智能体要么依赖静态代码分析,要么采用「反复跑测试—改代码」的试错式修复循环,缺乏开发者日常使用的丰富运行时信息;尽管调试器在现代 IDE 与命令行中极为普遍,却几乎没有进入编程智能体。本文提出 Debug2Fix,一个通过子智能体(subagent)架构将交互式调试作为软件工程智能体核心组件的新框架,并为框架接入了 Java 与 Python 调试器。作者在 GitBug-Java 与 SWE-Bench-Live 两个基准上进行评估,相比基线在某些模型上取得超过 20% 的性能提升;同时借助该框架,GPT-5、Claude Haiku 4.5 等较弱模型可追平甚至超过 Claude Sonnet 4.5 等更强模型,说明更好的工具设计往往与换用更昂贵的模型同等重要。最后,系统的消融实验验证了子智能体架构与调试器集成两者的必要性。

问题
现有编程智能体缺乏对运行时行为的交互式探查能力,只能依赖静态分析或试错式测试—修复循环,导致缺陷修复效果受限。
方法
提出 Debug2Fix 框架,以子智能体架构将 Java 与 Python 交互式调试器作为核心工具集成到软件工程智能体中,使其能主动设置断点、检查运行时状态并据此修复缺陷。
评估
在 GitBug-Java 与 SWE-Bench-Live 基准上对比基线模型,并在多个模型上做消融实验,考察子智能体架构与调试器集成各自的贡献。
原文摘要(Abstract)

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

链接与引用

DOI 原文 · arXiv ·

BibTeX
@inproceedings{paperbot12565,
  title = {Debug2Fix: Can Interactive Debugging Help Coding Agents Fix More Bugs?},
  author = {Spandan Garg and Yufan Huang},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834471}
}