Cited by 50Teaching and Learning ProgrammingSoftware Engineering ResearchSoftware Testing and Debugging Techniques

Error Message Readability and Novice Debugging Performance

Open access
Denny, Paul, Prather, James, Becker, Brett A.·2020·Proceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Education

Abstract

It is well known that programming error messages can be notoriously difficult for novices to understand, hampering progress and leading to frustration. In response, researchers have explored various approaches for enhancing such messages, yet results from this active strand of research are currently mixed. Direct comparisons of results between studies is challenging as these typically investigate different kinds of message enhancements and report results using different metrics. In addition, many prior studies have involved code writing tasks. In such cases, not all students encounter the same errors and messages, and it is difficult to isolate the time spent interpreting messages and resolving errors from the time spent writing code. In this research, we explore the effects of presenting novices with compiler error messages designed using the most recent collection of published guidelines - specifically, more easily readable, short, positive messages containing resolution hints. To accurately determine the time and effort required to read and respond to the messages, we utilise a debugging task where all students are presented the same code and therefore encounter the same errors. We present results of a randomised controlled experiment (n > 700) which shows that, compared to standard error messages, the messages we tested resulted in significantly shorter debugging times and higher self-reported scores of message usefulness for students in the very early stages of learning a new language.

Integrity signals

Registry

Crossref · 10.1145/3341525.3387384

Cites

27 of 27 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Increasing the readability of programming error messages improves student understanding of error messages and the number of successful code corrections.

    “This has been shown to improve student understanding of error messages and the number of successful code corrections [16].”
  • Although some studies have shown positive effects of rewording messages for novices, in general the evidence for the effectiveness of enhanced compiler error messages is not overwhelming.

    “However, although some studies have shown positive effects of rewording messages for novices [9,16], in general the evidence for the effectiveness of enhanced compiler error messages is not overwhelming [7].”
  • Traditional error messages are often cryptic and hard to understand for novice programmers.

    “traditional error messages are often cryptic and hard to understand for novice programmers [16,17].”

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Denny, P., Prather, J., & Becker, B. A.
Affiliations
  • University of Auckland (NZ)
  • Abilene Christian University (US)
  • University College Dublin (IE)
Venue
Proceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Education
Publisher
ACM
Published
2020-06-15
Pages
480-486
OpenAlex
W3033595121
Cited by
50
References
27
Citations by year
2026: 2 · 2025: 7 · 2024: 14 · 2023: 13 · 2022: 9 · 2021: 4 · 2020: 1
FWCI
7.84
Type
conference paper
Language
en
Open access
Locations
  • ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) (publishedVersion)
  • Research Repository UCD (University College Dublin) (publishedVersion, cc-by-nc-nd)
Topics
  • Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
Keywords
novice programmers, compiler error messages, programming education

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review