按年被提到
20202020 · 2 次2026
软件工程与 AI 编程›软件工程实证研究·arXiv:2005.13652 · cs.SE

Using Hypotheses as a Debugging Aid

Abdulaziz Alaboudi, Thomas D. LaToza · 2020
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 2 人首次 2020-08-16 · 最近 2020-09-17
2不同的人
2活跃月份
2讨论串
15被引(OpenAlex)
arXiv 摘要(候选层不写导读)

As developers debug, developers formulate hypotheses about the cause of the defect and gather evidence to test these hypotheses. To better understand the role of hypotheses in debugging, we conducted two studies. In a preliminary study, we found that, even with the benefit of modern internet resources, incorrect hypotheses can cause developers to investigate irrelevant information and block progress. We then conducted a controlled experiment where 20 developers debugged and recorded their hypotheses. We found that developers have few hypotheses, two per defect. Having a correct hypothesis early strongly predicted later success. We also studied the impact of two debugging aids: fault locations and potential hypotheses. Offering fault locations did not help developers formulate more correct hypotheses or debug more successfully. In contrast, offering potential hypotheses made developers six times more likely to succeed. These results demonstrate the potential of future debugging tools that enable finding and sharing relevant hypotheses.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

没有评论直接链到它;下面是它被提交的讨论串里回复最多的评论(不计入统计)

讨论串里没有 ≥100 字的评论,只有提交记录。

被提交为 story · 2 次