A Think-Aloud Study of Novice Debugging
Open accessThe DOI matches its Crossref record; 89 of the 90 references it cites were found in a registry or an index, and 1 are not checked yet.
Abstract
Debugging is a core skill required by programmers, yet we know little about how to effectively teach the process of debugging. The challenges of learning debugging are compounded for novices who lack experience and are still learning the tools they need to program effectively. In this work, we report a case study in which we used a think-aloud protocol to gain insight into the behaviour of three students engaged in debugging tasks. Our qualitative analysis reveals a variety of helpful practices and barriers that limit the effectiveness of debugging. We observe that comprehension, evidence-based activities, and workflow practices all contribute to novice debugging success. Lack of sustained effort, precision, and methodical processes negatively impact debugging effectiveness. We anticipate that understanding how students engage in debugging tasks will aid future work to address ineffective behaviours and promote effective debugging activities.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Using thematic analysis in psychology
Braun, V., & Clarke, V. (2006) · Qualitative Research in Psychology · doi:10.1191/1478088706qp063oa · Cited by 194,414
Conceptual and design thinking for thematic analysis.
Braun, V., & Clarke, V. (2022) · Qualitative Psychology · doi:10.1037/qup0000196 · Cited by 4,502 · cited 1×
“Here, we use a reflexive thematic analysis [11, 12] in which theme development is directed and both reflects the content of the data and examines the deeper underlying assumptions within a theme.”
MethodInside/Outside: Teacher Research and Knowledge
Cochran‐Smith, M., & Lytle, S. L. (1993) · Medical Entomology and Zoology · Cited by 2,077
Learning and Teaching Programming: A Review and Discussion
Robins, A., Rountree, J., & Rountree, N. (2003) · Computer Science Education · doi:10.1076/csed.13.2.137.14200 · Cited by 1,736 · cited 1×
“Debugging programs has been identified as an essential programming skill [24, 77].”
BackgroundThe Think Aloud Method: A Practical Guide to Modelling Cognitive Processes
van Someren, M. (1994) · Cited by 1,730
Learning to program = learning to construct mechanisms and explanations
Soloway, E. (1986) · Communications of the ACM · doi:10.1145/6592.6594 · Cited by 567
Online python tutor: embeddable web-based program visualization for cs education
Guo, P. J. (2013) · Proceeding of the 44th ACM technical symposium on Computer science education · doi:10.1145/2445196.2445368 · Cited by 396
Qualitative and quantitative methods: When stories converge
Kidder, L. H., & Fine, M. (1987) · New Directions for Program Evaluation · doi:10.1002/ev.1459 · Cited by 328
Debugging: a review of the literature from an educational perspective
McCauley, R., Fitzgerald, S., Lewandowski, G., Murphy, L., Simon, B., Thomas, L., & Zander, C. (2008) · Computer Science Education · doi:10.1080/08993400802114581 · Cited by 267
37 Million Compilations: Investigating Novice Programming Mistakes in Large-Scale Student Data
Altadmri, A., & Brown, N. C. C. (2015) · Proceedings of the 46th ACM Technical Symposium on Computer Science Education · doi:10.1145/2676723.2677258 · Cited by 261
Research works printed but not linked: 5
- Association for Computing Machinery (ACM) Joint Task Force on Computing Curricula and IEEE Computer Society. 2013. Computer Science Curricula 2013: Curriculum Guidelines for Undergraduate Degree Programs in Computer Science. ACM, New York, NY.
- Robert Charles Metzger. 2004. Debugging by Thinking: A Multidisciplinary Approach. Elsevier Digital Press.
- L. Morales-Navarro, D. A. Fields, and Y. B. Kafai. 2021. Growing mindsets: Debugging by design to promote students' growth mindset practices in computer science class. In Proceedings of the 15th International Conference of the Learning Sciences (ICLS'21), E. de Vries, Y. Hod, and J. Ahn (Eds.). https://par.nsf.gov/biblio/10309425.
- David Thomas and Andrew Hunt. 2019. The Pragmatic Programmer: Your Journey to Mastery. Addison-Wesley Professional.
- Andreas Zeller. 2009. Why Programs Fail: A Guide to Systematic Debugging. Elsevier.
Cited by
Ferino, S., Hoda, R., Grundy, J., & Treude, C. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3800580 · Cited by 43
That's Not the Feedback I Need! - Student Engagement with GenAI Feedback in the Tutor Kai
Jacobs, S., Kempf, M., & Kiesler, N. (2025) · Conference on United Kingdom & Ireland Computing Education Research (UKICER) · doi:10.1145/3754508.3754512 · Cited by 16
“This method is common to gain insights into cognitive processes during, e.g., debugging [46], code refactoring [7], or feedback processing [18].”
Padiyath, A., & Nelson-Fromm, T. (2026) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3770762.3772512 · Cited by 15
“How do students’ experiences with failure interact with their motivations to learn programming [46]?”
Debugging Pathways: Open-Ended Discrepancy Noticing, Causal Reasoning, and Intervening
DeLiema, D., Bye, J. K., & Marupudi, V. (2024) · ACM Transactions on Computing Education · doi:10.1145/3650115 · Cited by 15
Example-Based learning in Software Engineering Education: a systematic mapping study
Bonetti, T. P., Silva, W., & Colanzi, T. E. (2025) · Computer Science Education · doi:10.1080/08993408.2025.2543095 · Cited by 12
“This approach is further supported by the findings of Whalley et al. (2023), who demonstrated how novices engage with debugging tasks and benefit from structured opportunities to reason about code behavior and error correction.”
Metadata
- Authors
- Whalley, J., Settle, A., & Luxton-Reilly, A.
- Affiliations
- Auckland University of Technology (NZ)
- DePaul University (US)
- University of Auckland (NZ)
- Venue
- ACM Transactions on Computing Education
- Published
- 2023-06-08
- Volume
- 23
- Issue
- 2
- Pages
- 1-38
- ISSN
- 1946-6226 (ISSN-L)
- OpenAlex
- W4361271907
- Semantic Scholar
- 7565db1a204ca1f97b32ea159eb8edbf641f82ed
- Cited by
- 53
- References
- 89
- Citations by year
- 2026: 22 · 2025: 18 · 2024: 12 · 2023: 1
- FWCI
- 5.93
- Type
- journal article
- Language
- en
- Open access
- bronze
- doi.org
- Locations
- ACM Transactions on Computing Education (publishedVersion)
- Tuwhera (Auckland University of Technology) (submittedVersion)
- Lincoln University Research Archive (Lincoln University) (submittedVersion)
- Digital Commons-DePaul (DePaul University) (submittedVersion)
- Topics
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Social Sciences › Education › Problem and Project Based Learning
- Keywords
- debugging, novice programmers, programming education, think-aloud
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
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.