arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10540cs.SE
收藏

调试理论:开发者克服困惑的认知体验

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

University of Victoria(维多利亚大学)

Arty Starr, Margaret-Anne Storey

AI总结:

本文提出了一种基于认知科学的调试理论,旨在解释开发者在调试过程中面临挑战及认知疲劳的原因,并通过实证研究为开发者经验研究提供理论基础。

摘要:

本文介绍了一种根植于认知科学的调试理论。该理论帮助软件开发者解释在调试变得困难时所面临的挑战和由此产生的项目风险。我们定义调试为认知问题解决过程,即识别、理解和构建对意外系统行为原因的内心模型。我们将调试的认知过程视为调试活动的组成部分。调试是软件工作中最强烈和耗力的部分,对注意力、工作记忆和心理建模提出了持续的要求。通过揭示和命名调试中固有的困惑体验,以神经和注意力动态为术语,我们的理论解释了长时间调试如何耗尽认知资源并导致认知疲劳。在本文中,我们采访了27名专业开发者,关于他们的调试经历,并采用建构主义扎根理论方法,构建了一个基于实证数据的理论。我们的理论通过为理解调试困难、疲劳和可持续性风险提供认知基础,为开发者经验研究做出了贡献,并为研究和行业提供了实际意义。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑