Dcc --help: Generating Context-Aware Compiler Error Explanations with Large Language Models
Not on the map. Why?
Abstract (arXiv)
In the challenging field of introductory programming, high enrollments and failure rates drive us to explore tools and systems to enhance student outcomes, especially automated tools that scale to large cohorts. This paper presents and evaluates the dcc --help tool, an integration of a Large Language Model (LLM) into the Debugging C Compiler (DCC) to generate unique, novice-focused explanations tailored to each error. dcc --help prompts an LLM with contextual information of compile- and run-time error occurrences, including the source code, error location and standard compiler error message. The LLM is instructed to generate novice-focused, actionable error explanations and guidance, designed to help students understand and resolve problems without providing solutions. dcc --help was deployed to our CS1 and CS2 courses, with 2,565 students using the tool over 64,000 times in ten weeks. We analysed a subset of these error/explanation pairs to evaluate their properties, including conceptual correctness, relevancy, and overall quality. We found that the LLM-generated explanations were conceptually accurate in 90% of compile-time and 75% of run-time cases, but often disregarded the instruction not to provide solutions in code. Our findings, observations and reflections following deployment indicate that dcc-help provides novel opportunities for scaffolding students' introduction to programming.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 9 of its 41 references that are in the map. First posted on arXiv 23 Aug 2023.
Builds on
9 of 41 references.
References · 9
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2020Does the Whole Exceed its Parts? The Effect of AI Explanations on Complementary Team Performancecited by 399
- 2022Explanations Can Reduce Overreliance on AI Systems During Decision-Makingcited by 111
- 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 99
- 2022Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Languagecited by 82
- 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
- 2023ChatGPT and Software Testing Education: Promises & Perilscited by 42
Built on by
Citing papers per year: 2024: 6; 2025: 3; 2026: 2.
11 papers.
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 14
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Coursecited by 11
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Educationcited by 4
- 2025Towards LLM-based Root Cause Analysis of Hardware Design Failurescited by 4
- 2024Enhancing Programming Error Messages in Real Time with Generative AIcited by 3
- 2024LLM-aided explanations of EDA synthesis errorscited by 3
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learnerscited by 2
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?cited by 1
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomescited by 1
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilerscited by 0
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomes23 Mar 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Towards LLM-based Root Cause Analysis of Hardware Design Failures9 Jul 2025
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Education27 Feb 2025
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools19 Dec 2024
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learners17 Dec 2024
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course30 Jul 2024
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPT29 May 2024
- 2024LLM-aided explanations of EDA synthesis errors7 Apr 2024
- 2024Enhancing Programming Error Messages in Real Time with Generative AI12 Feb 2024