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.”
A Model of How Students Engineer Test Cases With Feedback
Shin, A. M., & Kazerouni, A. M. (2024) · ACM Transactions on Computing Education · doi:10.1145/3628604 · Cited by 10
Lunn, S. J., Dillon, E., & Sadid, Z. A. (2024) · ASEE Annual Conference & Exposition · doi:10.18260/1-2--47215 · Cited by 10
A Bug's New Life: Creating Refute Questions from Filtered CS1 Student Code Snapshots
Agarwal, N., Kumar, V., Raman, A., & Karkare, A. (2023) · ACM Global Computing Education Conference (CompEd) · doi:10.1145/3576882.3617916 · Cited by 10
“In some settings, students are given a failing test case and they have to correct the program [50].”
BackgroundBrown, N. C. C., Weill-Tessier, P., Leinonen, J., Denny, P., & Kölling, M. (2025) · ACM Transactions on Computing Education · doi:10.1145/3737885 · Cited by 5
Investigating Debugging Processes: A Scoping Review
Spörer, E., & Michaeli, T. (2025) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3769994.3770005 · Cited by 6
Newcomers’ experiences during debugging: A cognitive inclusivity perspective using GenderMag
Culas, F. M., Singh, A., Arankalle, A., Dhopade, P., & Blincoe, K. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107932 · Cited by 6
Moving What's in the CS Curriculum Forward: A Proposition to Address Ten Wicked Curricular Issues
Blumenthal, R. L., & Blumenthal, J. (2025) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3641554.3701924 · Cited by 5
Scaffolding Expertise: Evaluating Scaffolds for Block-Based Coding Among Experts and Novices
Zhang, Y., & Rutherford, T. A. (2024) · International Symposium on Artificial Intelligence for Education (ISAIE) · doi:10.1145/3700297.3700345 · Cited by 4
“In contrast, novices often rely on trial and error, displaying superficial problem interpretation and difficulty in utilizing abstract concepts effectively [8].”
Gale, L., & Sentance, S. (2026) · Informatics in Education · doi:10.15388/infedu.2504.011 · Cited by 4
Human-AI Co-Construction of Interpretable Predictive Models: The Case of Scoring Systems
Heid, S., Kornowicz, J., Hanselle, J., Hüllermeier, E., & Thommes, K. (2024) · Workshop Computational Intelligence · doi:10.58895/ksp/1000174544-15 · Cited by 4
Pacol, C. A., Rodrigo, M. M. T., & Tablatin, C. L. S. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-61569-6_6 · Cited by 4
Dialogue alongside or within lecturing videos for teaching debugging
Ding, L., Stacey, K. J., & Yoon, M. (2024) · Journal of Research on Technology in Education · doi:10.1080/15391523.2024.2404133 · Cited by 3
“Tinkering is termed to describe such behaviors of serendipity exploration without a clear understanding of the overall structure or purpose and is deemed as an ineffective debugging strategy (Whalley et al., 2023).”
InfluentialTesting and Debugging Habits of Intermediate Student Programmers
Izu, C., & Weeransinghe, A. (2024) · IEEE Global Engineering Education Conference (EDUCON) · doi:10.1109/educon60312.2024.10578650 · Cited by 3
“Debugging has been investigated for a range of groups with diverse proficiency levels: novices [7], [8], third year students [2] and software developers [9].”
BackgroundBeyond the Prompt: How Novices Engage with AI During Code Summarization
Mohamed, S., Parvin, A., Ismail, N., Amaya, K., Parra, E., & Oliver, M. D. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3786580.3786961 · Cited by 2
“Historically, methods for studying code comprehension relied on think-aloud protocols or post-task questionnaires, which offered insight into the cognitive processes involved in understanding code [45, 56].”
Malysheva, Y., Kelleher, C. L., & Ericson, B. J. (2024) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3699538.3699562 · Cited by 2
“For example, they may change code that looks "suspicious" simply because it’s different from what they are used to seeing, or more generally make trial-and-error changes based on their intuition of what might help [7, 20, 27, 36].”
PRIMMDebug: Teaching Secondary School Students a Reflective Approach to Debugging
Gale, L., & Sentance, S. (2026) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3856208.3856229 · Cited by 2
“Not only are students unlikely to consistently resolve errors with such an approach, but they may also add them to their programs [18, 21, 22, 42, 57] or revert corrective changes [30].”
Process Management for Learning from Professional Source Code: Cultivating Experts in the Age of AI
Dasu, G., O’Rourke, E., Zhang, H., Whitely, M., Wilcox, R. G., Rosenberg, L., Mulat, M., Liu, J. L., & Brewster, N. (2026) · ACM Transactions on Computing Education · doi:10.1145/3796525 · Cited by 1
An Investigation Into Secondary School Students' Debugging Behaviour in PythonPreprint
Gale, L., & Sentance, S. (2025) · arXiv · doi:10.48550/arxiv.2508.14833 · Cited by 1
“Fragile knowledge may not always prevent students from successfully resolving errors, but does prevent them from consistently doing so [1, 93].”
InfluentialThe code is lava: Improving children's debugging skills with explicit instruction
Kerslake, C. P. (n.d.) · Summit (Simon Fraser University) · Cited by 1
Cognitive Inclusivity in AI Coding Assistants: Evidence from GitHub CopilotPreprint
Kerr, G., Parasrampuria, A., Culas, F. M., & Blincoe, K. (2026) · arXiv · doi:10.48550/arxiv.2610.41192 · Cited by 1
“However, this is a widely used research method to capture reasoning [20], [54], and we provided examples during the warmup to help participants become familiar with the protocol.”
Proceedings - 34. Workshop Computational Intelligence: Berlin, 21.-22. November 2024Preprint
Friederich, N., Sitcheu, A. J. Y., Nassal, A., Pesch, M., Yildiz, E., Beichter, M., Scholtes, L., Akbaba, B., Lautenschlager, T., Neumann, O., et al. (2024) · arXiv · doi:10.5445/ksp/1000174544 · Cited by 1
Schneider, M. (2024) · CU Scholar (University of Colorado Boulder) · Cited by 1
Flexible Snapshot Creation in Debugging Sessions for Code Cities
Damerau, L., Hansen, M., & Hasselbring, W. (2025) · IEEE Working Conference on Software Visualization (VISSOFT) · doi:10.1109/vissoft67405.2025.00031 · Cited by 1
“Since understanding the program code is a fundamental prerequisite for effective debugging [5], the debugging process can benefit from such visualization tools.”
Saberon, C. L. A. D. S., & Fernandez, J. R. E. (2026) · International Journal of Advanced Research in Science Communication and Technology · doi:10.48175/ijarsct-36510
Towards a Theory-Based Approach for Analyzing Students' Debugging Processes
Spörer, E., & Michaeli, T. (2026) · Conference on United Kingdom & Ireland Computing Education Research (UKICER) · doi:10.1145/3830800.3830802
ILDBug: A New Approach to Teaching Debugging
Butler, L., Kiesel, C., Mukherjee, D., Hassan, M. R., Beckman, M., & Herman, G. L. (2025) · IEEE Frontiers in Education Conference (FIE) · doi:10.1109/fie63693.2025.11328621
“1) Debugging Interventions: While there has been a growing body of work understanding how students try to de-bug [19], [20], [23], [25], [29]–[32], there is still much more work needing to be done studying how to help students debug better.”
Rehor, V., Wachter, H., Wolf, A., Hartmann, C., Bannert, M., & Michaeli, T. (2026) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/3803400.3809348
“For example whether students apply strategies such as tracing, pattern matching (which relies heavily on experience) or targeted testing, whereas struggling students rely on unsystematic tinkering or superficial code reading [10, 11, 31, 49].”
Overcoming Debugging Challenges: Expert Strategies for Novice Programmers
Maleti, T., & Nel, L. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-12457-9_9
Dzialets, K., Makeeva, A., Vlasov, I., Potriasaeva, A., Rostovskii, A., Golubev, Y., & Birillo, A. (2025) · ACM Global Computing Education Conference (CompEd) · doi:10.1145/3736181.3747133
Kornowicz, J. (2025) · Amtliche Mitteilungen (Universitätsbibliothek Paderborn) · doi:10.17619/unipb/1-2324
Teaching secondary school students a reflective approach to debugging
Gale, L. (2025) · Apollo (University of Cambridge) · doi:10.17863/cam.132155
Anugrah, S., Faranda, N., Hendri, N., & Yusri, M. A. K. (2026) · Journal of Educational and Learning Studies · doi:10.32698/03302
“Recent research indicates that novice programmers benefit from systematic, evidence-based debugging practice, while explicit debugging instruction remains comparatively limited (Whalley et al., 2023; Yang et al., 2024).”
Finding and Investigating Buggy Codes to Make CS1 Learning Efficient
Agarwal, N. (2024) · Innovations in Software Engineering Conference (ISEC) · doi:10.1145/3641399.3641442
“They try to find these errors by debugging the code against a set of test cases [12, 18].”
BackgroundTowards more effective testing and debugging education in computer science courses
Butler, L. (2025) · Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign)
Jolugbo, O. (2025) · Lancaster EPrints (Lancaster University) · doi:10.17635/lancaster/thesis/2717
Nguyen, D.-T. N., Nguyen, B.-A., & Phan, N. Q. (2026) · Communications in computer and information science · doi:10.1007/978-981-92-7408-6_37
Hierarchical Instruction for C++ Programming Through RAG-Based Intelligent Tutoring
Wang, S., Ren, Y., Che, Y., Wang, X., Zheng, G., SHANG, J., & Xi, L. (2026) · International Journal of Information and Communication Technology Education · doi:10.4018/ijicte.428112
Rashid, P., Tithi, S. D., Eren, B. A., Alemdar, M., & Shi, Y. (2026) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3856208.3856250
“For example, Whalley et al. (2023) perform a case study using Python that analyzes student debugging behavior us-ing concurrent verbal protocols and provides insights into typical heuristics used by novices [20].”
USE OF CHUNKING STRATEGY DURING COLLABORATIVE DEBUGGING
Baabdullah, A. (2025) · Cognition and Exploratory Learning in Digital Age · doi:10.33965/celda2025_202509l041
Bhardwaj, J. (2026) · Edinburgh Napier Research Repository (Edinburgh Napier University) · doi:10.17869/enu.2025.4919083
Describing Functionality in Natural Language May Improve Decomposition Behaviors
Burns, M. (2025) · Digital Commons - USU (Utah State University) · doi:10.26076/ccd2-44c8
Malysheva, Y. (2025) · Open Scholarship Institutional Repository (Washington University in St. Louis) · doi:10.7936/0b3f-f654
Park, K., & Choe, H. (2026) · The Journal of Korean Association of Computer Education · doi:10.32431/kace.2026.29.10.009
How Do People Debug Complex SQL Queries With LLMs? A Qualitative StudyPreprint
Sullivan, N., Cao, E., Battle, L., & Bałazińska, M. (2026) · arXiv · doi:10.48550/arxiv.2611.16108
Hooper, S., Denny, P. C., Luxton-Reilly, A., & Wuensche, B. C. (2026) · doi:10.1145/3829250.3849207
Self-citationA Development Environment for Learning Debugging Strategies Utilizing Scratch
Kanaya, A., & Hashiura, H. (2026) · Journal of JSEE · doi:10.4307/jsee.74.6_33
Large language models facilitate knowledge extraction for troubleshooting
Cooper, P. S., Irons, J. L., Harwood, B., Hotan, A. W., Moss, V. A., & Duenser, A. (2026) · Australian Conference on Human-Computer Interaction (OzCHI) · doi:10.1145/3847401.3857158
Leveraging LLMs to Refine Codebooks for Analyzing Computing Students’ Reflections on Coursework
Kumar, A. N., Pazmino, P. F. J., VanDeGrift, T., & MacKellar, B. (2026) · CEUR Workshop Proceedings
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.