开发者如何为具有挑战性的Web应用缺陷选择调试策略
How Developers Choose Debugging Strategies for Challenging Web Application Defects
AI总结:
本研究通过调查和访谈开发者,发现情境因素组合影响复杂Web应用缺陷的调试策略选择,且假设制定是基线,经验与代码熟悉度关键,并指出学习与实践间的差距。
摘要:
有效的调试是软件开发中的一个关键方面,需要问题解决能力、专业知识和合适的工具。尽管先前的研究已经考察了专家开发者的调试策略,但在复杂场景中影响策略选择的具体因素仍未得到充分探索。为了调查这些情境因素,我们进行了两项研究。首先,我们调查了35名开发者,以识别他们在具有挑战性的调试问题和情境复杂性方面的经验。其次,我们对16名经验丰富的开发者进行了半结构化访谈,以更深入地了解复杂调试任务中的策略推理。来自两个群体的见解丰富了我们在不同专业水平下对调试策略的理解。我们发现,情境因素以复杂的方式相互作用,因素组合影响策略选择,并在调试过程中不断演变。假设制定是调试的基线,经验和代码熟悉度对策略选择至关重要。我们的结果表明,在具有挑战性的情境中,学习与实际实践策略之间存在差距,这凸显了精心设计的调试工具和与问题情境相一致的教育框架的必要性。
英文摘要:
Effective debugging is a crucial aspect of software development, demanding problem-solving skills, expertise, and appropriate tools. Although previous research has studied expert developers' debugging strategies, the specific factors influencing strategy choice in complex scenarios remain underexplored. To investigate these contextual factors, we conducted two studies. First, we surveyed 35 developers to identify experiences with challenging debugging problems and contextual complexities. Second, we held semi-structured interviews with 16 experienced developers to gain deeper insight into strategic reasoning for complex debugging tasks. Insights from both groups enriched our understanding of debugging strategies at different expertise levels. We found that contextual factors interact in complex ways, and combinations of factors influence strategy choice, evolving throughout the debugging process. Hypothesis making is the baseline for debugging, with experience and code familiarity crucial for strategy selection. Our results show a gap between learning and effectively practicing strategies in challenging contexts, highlighting the need for carefully designed debugging tools and educational frameworks that align with problem contexts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。