NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Emerging Debugging Strategies of Novice Programmers: The Role of Self-Efficacy

Hyejoo Yun, Gahyun Sung, Feng Yan, Bertrand SchneiderProceedings 2025

TL;DR

This study identifies three distinct profiles of novice programmers—underconfident, confident, and overconfident—based on the gap between their perceived and actual debugging abilities. The research reveals that "confident" students (those with well-calibrated self-efficacy) are the only ones whose interest in programming grows over time, primarily because they employ higher-quality, strategic debugging sequences rather than simply trying more things.

What Problem Does This Paper Address?

Debugging is one of the most significant hurdles for novice programmers, yet we know surprisingly little about how a student’s "self-efficacy"—their belief in their own ability to succeed—shapes their actual problem-solving behavior.

The authors address the "misalignment" problem: the Dunning-Kruger effect in the classroom. Some students underestimate themselves (underconfident), while others vastly overestimate their skills (overconfident). This paper investigates how these psychological states translate into specific debugging strategies (e.g., when do they ask for help? when do they use Google?) and how this alignment affects their long-term interest in computer science.

Methods

The researchers conducted a study with 43 novice students during an 8-hour introductory Python workshop. They combined several data streams:

  • Surveys: To measure self-efficacy and interest before and after the workshop.
  • Video Coding: Researchers manually coded video recordings of students debugging, identifying six specific behaviors: analysis, debugging, switching, independent work, online resource utilization, and interpersonal strategies (asking for help).
  • Hierarchical Clustering: Used to group students into the three confidence clusters based on the delta between their self-reported efficacy and their actual bug-solving success rate.
  • Lag Sequential Analysis (LSA): A method used to identify statistically significant "transitions" between behaviors (e.g., how often does "Analysis" lead to "Independent Work" vs. "Asking a Peer"?).

Datasets

The study used a primary dataset collected by the authors:

  • Participants: 43 novice Python students.
  • Context: Two iterations of a 3-4 day workshop (approx. 8 hours of hands-on coding).
  • Metrics: Ratio of solved bugs (performance) vs. survey-based self-efficacy scores.

Key Insights and Ideas

  • The "Overconfident" Paradox: Overconfident students were the most "active" but the least effective. They had the highest average total count of strategies (53.6) but the lowest performance. This suggests they were "thrashing"—trying many things without a coherent plan.
  • Calibration is King: Only the "confident" group (those whose high self-efficacy matched high ability) showed an increase in future programming interest. Both underconfident and overconfident groups saw their interest decrease, suggesting that a lack of calibration—regardless of which direction—leads to frustration and burnout.
  • Strategy Quality > Quantity: Success in debugging isn't about how many tools you use, but how you link them. Confident students showed "sophisticated" transitions: their analysis phase led strategically to either independent work or interpersonal help.
  • The Underconfident "Safety Net": Underconfident learners tended to move directly from support resources (online/peers) to debugging, suggesting a reliance on external validation rather than internalizing the problem-solving process.

Key Results

  • Cluster Distribution: The majority of students were underconfident (58.1%), followed by confident (23.3%), and overconfident (18.6%).
  • Performance vs. Efficacy:
    • Underconfident: Moderate ability, lowest self-efficacy.
  • Confident: Mid-high self-efficacy, highest ability.
  • Overconfident: Highest self-efficacy, lowest ability.
  • Interest Trends: The confident group’s interest rose (M=0.11), while the underconfident (M=-0.16) and overconfident (M=-0.23) groups' interest dropped.
  • Behavioral Metrics: Overconfident students performed significantly more transitions between strategies (3.42) compared to underconfident (2.78) and confident (2.94) students, indicating a more frantic, less-structured approach.

Limitations and Future Work

The authors acknowledge a few key limitations:

  • Sample Size: With only 43 students, some of the trends (like the decrease in interest) did not reach full statistical significance and require validation with larger groups.
  • Duration: The study took place over a short workshop (8 hours). Long-term effects of self-efficacy on retention in a full-semester CS course remain to be seen.
  • Intervention Design: While the paper identifies these clusters, it doesn't yet test specific interventions. Future work should explore how to provide "metacognitive scaffolding"—tools that help overconfident students slow down and underconfident students trust their analysis.

Summary updated

BibTeX
@inproceedings{yun2025emerging,
  author = {Hyejoo Yun and Gahyun Sung and Feng Yan and Bertrand Schneider},
  title = {{Emerging Debugging Strategies of Novice Programmers: The Role of Self-Efficacy}},
  booktitle = {Proceedings},
  year = {2025},
  doi = {10.22318/icls2025.757106},
}
Figure