Theory of Troubleshooting: The Developer's Cognitive Experience of Overcoming Confusion

📅 2026-02-11
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the high cognitive load and attentional depletion developers experience during debugging, which threaten project sustainability. Grounded in cognitive science, it conceptualizes debugging as a cognitive process of constructing mental models that explain anomalous system behavior. Through semi-structured interviews with 27 professional developers and employing a constructivist grounded theory approach, the research systematically uncovers, for the first time, the neural and attentional mechanisms underlying the experience of confusion during debugging. The resulting empirically grounded cognitive theory of debugging elucidates the intrinsic relationships among debugging difficulty, cognitive resource consumption, and development sustainability. This work provides a theoretical foundation for developer experience research and offers practical guidance for industry efforts to optimize debugging tools and workflows.

Technology Category

Application Category

📝 Abstract
This paper introduces a Theory of Troubleshooting that is rooted in cognitive science. This theory helps software developers explain the challenges they face and the project risks that emerge as troubleshooting becomes difficult. We define troubleshooting as the cognitive problem-solving process of identifying, understanding, and constructing a mental model of the cause of an unexpected system behavior, and consider the cognitive process of troubleshooting to be an integral part of the activity of debugging. Troubleshooting is a particularly intense and draining aspect of software work, placing sustained demands on attention, working memory, and mental modeling. By surfacing and naming the confusion experience inherent in troubleshooting in terms of neurological and attentional dynamics, our theory explains how prolonged troubleshooting can deplete cognitive resources and lead to cognitive fatigue. In the study presented in this paper, we interview 27 professional developers about their troubleshooting experiences, and follow a Constructivist Grounded Theory approach to construct a theory grounded in empirical data. Our theory contributes to research on Developer Experience by providing a cognitive foundation for understanding troubleshooting difficulty, fatigue, and sustainability risk--and offers practical implications for both research and industry.
Problem

Research questions and friction points this paper is trying to address.

troubleshooting
cognitive fatigue
debugging
developer experience
mental modeling
Innovation

Methods, ideas, or system contributions that make the work stand out.

troubleshooting
cognitive fatigue
developer experience
mental modeling
grounded theory
🔎 Similar Papers
No similar papers found.