We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.SE

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Software Engineering

Title: Using Hypotheses as a Debugging Aid

Abstract: 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.
Subjects: Software Engineering (cs.SE)
Journal reference: IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) 2020
Cite as: arXiv:2005.13652 [cs.SE]
  (or arXiv:2005.13652v1 [cs.SE] for this version)

Submission history

From: Abdulaziz Alaboudi [view email]
[v1] Wed, 27 May 2020 21:04:30 GMT (1464kb,D)

Link back to: arXiv, form interface, contact.