DebugBench: Evaluating Debugging Capability of Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated exceptional coding capability. However, as another critical component of programming proficiency, the debugging capability of LLMs remains relatively unexplored. Previous evaluations of LLMs' debugging ability are significantly limited by the risk of data leakage, the scale of the dataset, and the variety of tested bugs. To overcome these deficiencies, we introduce `DebugBench', an LLM debugging benchmark consisting of 4,253 instances. It covers four major bug categories and 18 minor types in C++, Java, and Python. To construct DebugBench, we collect code snippets from the LeetCode community, implant bugs into source data with GPT-4, and assure rigorous quality checks. We evaluate two commercial and four open-source models in a zero-shot scenario. We find that (1) while closed-source models exhibit inferior debugging performance compared to humans, open-source models relatively lower pass rate scores; (2) the complexity of debugging notably fluctuates depending on the bug category; (3) incorporating runtime feedback has a clear impact on debugging performance which is not always helpful. As an extension, we also compare LLM debugging and code generation, revealing a strong correlation between them for closed-source models. These findings will benefit the development of LLMs in debugging.
Key facts. Cited by 76 papers in the map (data through 14 Oct 2026). Builds on 13 of its 35 references that are in the map. First posted on arXiv 9 Jan 2024.
Builds on
13 of 35 references.
References · 13
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2023StarCoder: may the source be with you!cited by 799
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
- 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 140
- 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 110
- 2019TBar: Revisiting Template-based Automated Program Repaircited by 65
Built on by
Citing papers per year: 2024: 18; 2025: 35; 2026: 23.
76 papers.
Sort:
By area:
- 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 238
- 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agentscited by 85
- 2025LifelongAgentBench: Evaluating LLM Agents as Lifelong Learnerscited by 78
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 49
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2024Code Comprehension then Auditing for Unsupervised LLM Evaluationcited by 32
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
- 2024ExecRepoBench: Multi-level Executable Code Completion Evaluationcited by 20
- 2025SWE-Flow: Synthesizing Software Engineering Data in a Test-Driven Mannercited by 20
- 2025debug-gym: A Text-Based Environment for Interactive Debuggingcited by 19
38 more
- 2025RepoMaster: Autonomous Exploration and Understanding of GitHub Repositories for Complex Task Solvingcited by 19
- 2024VersiCode: Towards Version-controllable Code Generationcited by 17
- 2025Learning to Generate Unit Tests for Automated Debuggingcited by 17
- 2025SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applicationscited by 16
- 2025WebMMU: A Benchmark for Multimodal Multilingual Website Understanding and Code Generationcited by 16
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025TOM-SWE: User Mental Modeling For Software Engineering Agentscited by 13
- 2024Aligning the Objective of LLM-based Program Repaircited by 12
- 2025CipherBank: Exploring the Boundary of LLM Reasoning Capabilities through Cryptography Challengescited by 11
- 2024Beyond Correctness: Benchmarking Multi-dimensional Code Generation for Large Language Modelscited by 10
- 2024R2C2-Coder: Enhancing and Benchmarking Real-world Repository-level Code Completion Abilities of Code Large Language Modelscited by 9
- 2024Coffee-Gym: An Environment for Evaluating and Improving Natural Language Feedback on Erroneous Codecited by 9
- 2025Risk Assessment Framework for Code LLMs via Leveraging Internal Statescited by 9
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
- 2025Optimizing Case-Based Reasoning System for Functional Test Script Generation with Large Language Modelscited by 7
- 2025Small Models, Big Tasks: An Exploratory Empirical Study on Small Language Models for Function Callingcited by 7
- 2026The Value Axis: Language Models Encode Whether They're on the Right Trackcited by 7
- 2024LLeMpower: Understanding Disparities in the Control and Access of Large Language Modelscited by 5
- 2025IFEvalCode: Controlled Code Generationcited by 5
- 2026Wiring the 'Why': A Unified Taxonomy and Survey of Abductive Reasoning in LLMscited by 5
- 2026PACE: A Proxy for Agentic Capability Evaluationcited by 5
- 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAIcited by 4
- 2025Improving Deep Assertion Generation via Fine-Tuning Retrieval-Augmented Pre-trained Language Modelscited by 4
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 4
- 2025Assessing the Impact of Code Changes on the Fault Localizability of Large Language Modelscited by 4
- 2025An LLM-enabled Multi-Agent Autonomous Mechatronics Design Frameworkcited by 4
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debuggingcited by 4
- 2025The Impact of LLM-Assistants on Software Developer Productivity: A Systematic Review and Mapping Studycited by 4
- 2025Cognitive Agents Powered by Large Language Models for Agile Software Project Managementcited by 4
- 2025OntoLogX: Ontology-Guided Knowledge Graph Extraction from Cybersecurity Logs with Large Language Modelscited by 4
- 2026Falsification, Not Exposure: An Internally Preregistered Placebo-Controlled Decomposition of Self-Repair Feedback in Frozen Small Code Modelscited by 4
- 2024Benchmarking Generative Models on Computational Thinking Tests in Elementary Visual Programmingcited by 3
- 2024Multi-Programming Language Ensemble for Code Generation in Large Language Modelcited by 3
- 2025MLDebugging: Towards Benchmarking Code Debugging Across Multi-Library Scenarioscited by 3
- 2025Multilingual Multimodal Software Developer for Code Generationcited by 3
- 2025Improving Retrieval-Augmented Deep Assertion Generation via Joint Trainingcited by 2
- 2025RefactorCoderQA: Benchmarking LLMs for Multi-Domain Coding Question Solutions in Cloud and Edge Deploymentcited by 2
50 most cited of 76 All 76 (JSON)
- 2026PreciseCoder: Faithful and Generalizable Debugging Beyond Unit-Test Rewards13 Oct 2026
- 2026EvalResearchBench: Can AI Agents Design Their Own Evaluations?3 Oct 2026
- 2026Large Language Models for Programming: Actually Fixing or Reimplementing Incorrect Code?24 Sep 2026
- 2026Efficient SWE Agent Benchmarking via Trajectory-Aware Evaluation1 Sep 2026
- 2026Evaluating Agentic Code Repair Capabilities in Distributed Systems14 Aug 2026
- 2026PACE: A Proxy for Agentic Capability Evaluation2 Jul 2026
- 2026Falsification, Not Exposure: An Internally Preregistered Placebo-Controlled Decomposition of Self-Repair Feedback in Frozen Small Code Models30 Jun 2026
- 2026Automated Summarization of Software Documents: An LLM-based Multi-Agent Approach23 Jun 2026
- 2026The Value Axis: Language Models Encode Whether They're on the Right Track15 Jun 2026
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Application10 Jun 2026
- 2026The Architecture of Errors: From Universal Impossibility to Patch-Local LLM Reliability28 May 2026
- 2026MOCHA: Multi-Objective Chebyshev Annealing for Agent Skill Optimization19 May 2026
38 more
- 2026Learning from Failures: Correction-Oriented Policy Optimization with Verifiable Rewards14 May 2026
- 2026Not All RAGs Are Created Equal: A Component-Wise Empirical Study for Software Engineering Tasks14 May 2026
- 2026AuditRepairBench: A Paired-Execution Trace Corpus for Evaluator-Channel Ranking Instability in Agent Repair6 May 2026
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?19 Apr 2026
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Design14 Apr 2026
- 2026Wiring the 'Why': A Unified Taxonomy and Survey of Abductive Reasoning in LLMs9 Apr 2026
- 2026TurboAgent: An LLM-Driven Autonomous Multi-Agent Framework for Turbomachinery Aerodynamic Design8 Apr 2026
- 2026VIBEPASS: Can Vibe Coders Really Pass the Vibe Check?16 Mar 2026
- 2026Heuristic Search as Language-Guided Program Optimization17 Feb 2026
- 2026Coding in a Bubble? Evaluating LLMs in Resolving Context Adaptation Bugs During Code Adaptation10 Jan 2026
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptation8 Jan 2026
- 2025Assessing the Software Security Comprehension of Large Language Models24 Dec 2025
- 2025SoK: Understanding (New) Security Issues Across AI4Code Use Cases20 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Dual-Process Scaffold Reasoning for Enhancing LLM Code Debugging11 Nov 2025
- 2025TOM-SWE: User Mental Modeling For Software Engineering Agents24 Oct 2025
- 2025Prospects for Using Artificial Intelligence to Understand Intrinsic Kinetics of Heterogeneous Catalytic Reactions21 Oct 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025OntoLogX: Ontology-Guided Knowledge Graph Extraction from Cybersecurity Logs with Large Language Models1 Oct 2025
- 2025RefactorCoderQA: Benchmarking LLMs for Multi-Domain Coding Question Solutions in Cloud and Edge Deployment12 Sep 2025
- 2025WebMMU: A Benchmark for Multimodal Multilingual Website Understanding and Code Generation22 Aug 2025
- 2025Cognitive Agents Powered by Large Language Models for Agile Software Project Management21 Aug 2025
- 2025IFEvalCode: Controlled Code Generation30 Jul 2025
- 2025Kodezi Chronos: A Debugging-First Language Model for Repository-Scale Code Understanding14 Jul 2025
- 2025Multilingual Multimodal Software Developer for Code Generation11 Jul 2025
- 2025The Impact of LLM-Assistants on Software Developer Productivity: A Systematic Review and Mapping Study3 Jul 2025
- 2025SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications23 Jun 2025
- 2025MLDebugging: Towards Benchmarking Code Debugging Across Multi-Library Scenarios15 Jun 2025
- 2025SWE-Flow: Synthesizing Software Engineering Data in a Test-Driven Manner10 Jun 2025
- 2025RepoMaster: Autonomous Exploration and Understanding of GitHub Repositories for Complex Task Solving27 May 2025
- 2025MARCO: Meta-Reflection with Cross-Referencing for Code Reasoning23 May 2025
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debugging21 May 2025
- 2025LifelongAgentBench: Evaluating LLM Agents as Lifelong Learners17 May 2025
- 2025Small Models, Big Tasks: An Exploratory Empirical Study on Small Language Models for Function Calling27 Apr 2025
- 2025CipherBank: Exploring the Boundary of LLM Reasoning Capabilities through Cryptography Challenges27 Apr 2025
- 2025Impact of Comments on LLM Comprehension of Legacy Code23 Apr 2025
- 2025An LLM-enabled Multi-Agent Autonomous Mechatronics Design Framework20 Apr 2025
- 2025Risk Assessment Framework for Code LLMs via Leveraging Internal States20 Apr 2025
50 newest of 76 All 76 (JSON)
- 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 238
- 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agentscited by 85
- 2025LifelongAgentBench: Evaluating LLM Agents as Lifelong Learnerscited by 78
- 2025debug-gym: A Text-Based Environment for Interactive Debuggingcited by 19
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025TOM-SWE: User Mental Modeling For Software Engineering Agentscited by 13
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
- 2025Small Models, Big Tasks: An Exploratory Empirical Study on Small Language Models for Function Callingcited by 7
- 2026PACE: A Proxy for Agentic Capability Evaluationcited by 5
- 2025An LLM-enabled Multi-Agent Autonomous Mechatronics Design Frameworkcited by 4
- 2025Cognitive Agents Powered by Large Language Models for Agile Software Project Managementcited by 4
12 most cited of 17 All 17 (JSON)
- 2026Efficient SWE Agent Benchmarking via Trajectory-Aware Evaluation1 Sep 2026
- 2026Evaluating Agentic Code Repair Capabilities in Distributed Systems14 Aug 2026
- 2026PACE: A Proxy for Agentic Capability Evaluation2 Jul 2026
- 2026Automated Summarization of Software Documents: An LLM-based Multi-Agent Approach23 Jun 2026
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Application10 Jun 2026
- 2026MOCHA: Multi-Objective Chebyshev Annealing for Agent Skill Optimization19 May 2026
- 2026VIBEPASS: Can Vibe Coders Really Pass the Vibe Check?16 Mar 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025TOM-SWE: User Mental Modeling For Software Engineering Agents24 Oct 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Cognitive Agents Powered by Large Language Models for Agile Software Project Management21 Aug 2025
- 2025LifelongAgentBench: Evaluating LLM Agents as Lifelong Learners17 May 2025
12 newest of 17 All 17 (JSON)
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
- 2025CipherBank: Exploring the Boundary of LLM Reasoning Capabilities through Cryptography Challengescited by 11
- 2025Optimizing Case-Based Reasoning System for Functional Test Script Generation with Large Language Modelscited by 7
- 2026Wiring the 'Why': A Unified Taxonomy and Survey of Abductive Reasoning in LLMscited by 5
- 2025MARCO: Meta-Reflection with Cross-Referencing for Code Reasoningcited by 0
- 2025Dual-Process Scaffold Reasoning for Enhancing LLM Code Debuggingcited by 0
- 2026Learning from Failures: Correction-Oriented Policy Optimization with Verifiable Rewardscited by 0
- 2026Learning from Failures: Correction-Oriented Policy Optimization with Verifiable Rewards14 May 2026
- 2026Wiring the 'Why': A Unified Taxonomy and Survey of Abductive Reasoning in LLMs9 Apr 2026
- 2025Dual-Process Scaffold Reasoning for Enhancing LLM Code Debugging11 Nov 2025
- 2025MARCO: Meta-Reflection with Cross-Referencing for Code Reasoning23 May 2025
- 2025CipherBank: Exploring the Boundary of LLM Reasoning Capabilities through Cryptography Challenges27 Apr 2025
- 2025Optimizing Case-Based Reasoning System for Functional Test Script Generation with Large Language Models26 Mar 2025
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Execution23 Aug 2024
- 2025Improving Deep Assertion Generation via Fine-Tuning Retrieval-Augmented Pre-trained Language Modelscited by 4
- 2025Improving Retrieval-Augmented Deep Assertion Generation via Joint Trainingcited by 2
- 2026Not All RAGs Are Created Equal: A Component-Wise Empirical Study for Software Engineering Taskscited by 1
- 2026Not All RAGs Are Created Equal: A Component-Wise Empirical Study for Software Engineering Tasks14 May 2026
- 2025Improving Deep Assertion Generation via Fine-Tuning Retrieval-Augmented Pre-trained Language Models22 Feb 2025
- 2025Improving Retrieval-Augmented Deep Assertion Generation via Joint Training15 Feb 2025
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 49
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2024Code Comprehension then Auditing for Unsupervised LLM Evaluationcited by 32
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024ExecRepoBench: Multi-level Executable Code Completion Evaluationcited by 20
- 2025SWE-Flow: Synthesizing Software Engineering Data in a Test-Driven Mannercited by 20
- 2025RepoMaster: Autonomous Exploration and Understanding of GitHub Repositories for Complex Task Solvingcited by 19
- 2024VersiCode: Towards Version-controllable Code Generationcited by 17
- 2025Learning to Generate Unit Tests for Automated Debuggingcited by 17
- 2025SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applicationscited by 16
- 2025WebMMU: A Benchmark for Multimodal Multilingual Website Understanding and Code Generationcited by 16
12 most cited of 46 All 46 (JSON)
- 2026EvalResearchBench: Can AI Agents Design Their Own Evaluations?3 Oct 2026
- 2026Large Language Models for Programming: Actually Fixing or Reimplementing Incorrect Code?24 Sep 2026
- 2026Falsification, Not Exposure: An Internally Preregistered Placebo-Controlled Decomposition of Self-Repair Feedback in Frozen Small Code Models30 Jun 2026
- 2026The Value Axis: Language Models Encode Whether They're on the Right Track15 Jun 2026
- 2026The Architecture of Errors: From Universal Impossibility to Patch-Local LLM Reliability28 May 2026
- 2026AuditRepairBench: A Paired-Execution Trace Corpus for Evaluator-Channel Ranking Instability in Agent Repair6 May 2026
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?19 Apr 2026
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Design14 Apr 2026
- 2026TurboAgent: An LLM-Driven Autonomous Multi-Agent Framework for Turbomachinery Aerodynamic Design8 Apr 2026
- 2026Heuristic Search as Language-Guided Program Optimization17 Feb 2026
- 2026Coding in a Bubble? Evaluating LLMs in Resolving Context Adaptation Bugs During Code Adaptation10 Jan 2026
- 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptation8 Jan 2026
12 newest of 46 All 46 (JSON)