Abstract
Software developers often have a difficult time debugging their code and fixing defects that cause software to behave incorrectly. When initially faced with a defect, if developers are able to formulate a correct hypothesis, debugging is usually quick. However developers often struggle to find correct hypotheses on their own. In our work, we are investigating a new approach to debugging: a tool which generates suggested hypotheses for developers to investigate. To explore this approach, we built a Chrome Developer Tools extension named Hypothesizer. Hypothesizer generates a list of relevant hypotheses based on natural language processing of the developer’s description of the defect and ranks their relevance based on analysis of the code. In the future we hope to scale Hypothesizer and allow it to automatically generate relevant hypotheses as it encounters new defects. Ultimately, we believe our work has the potential to provide developers a much easier way to debug by identifying potential hypotheses for them when they experience bugs in their code.
How to Cite:
BONAM, S., Alaboudi, A. & D. LaToza , T.,
(2022) “Helping Developers Find Debugging Hypotheses Using General Bug Descriptions and Code Analysis Techniques ”,
Journal of Student-Scientists' Research 2.
doi: https://doi.org/10.13021/jssr2020.3149
Files
Downloads are not available for this article.