DocumentCode
492588
Title
Debugging reinvented
Author
Ko, Andrew J. ; Myers, Brad A.
Author_Institution
Sch. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA
fYear
2008
fDate
10-18 May 2008
Firstpage
301
Lastpage
310
Abstract
When software developers want to understand the reason for a program´s behavior, they must translate their questions about the behavior into a series of questions about code, speculating about the causes in the process. The Whyline is a new kind of debugging tool that avoids such speculation by instead enabling developers to select a question about program output from a set of why did and why didn´t questions derived from the program´s code and execution. The tool then finds one or more possible explanations for the output in question, using a combination of static and dynamic slicing, precise call graphs, and new algorithms for determining potential sources of values and explanations for why a line of code was not reached. Evaluations of the tool on one task showed that novice programmers with the Whyline were twice as fast as expert programmers without it. The tool has the potential to simplify debugging in many software development contexts.
Keywords
program debugging; software engineering; debugging tool; precise call graphs; program behavior; program´s code; program´s execution; software developers; software development; Computer science; Java; Navigation; Output feedback; Programming profession; Prototypes; Reasoning about programs; Software debugging; Testing; Visualization; whyline;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2008. ICSE '08. ACM/IEEE 30th International Conference on
Conference_Location
Leipzig
ISSN
0270-5257
Print_ISBN
978-1-4244-4486-1
Electronic_ISBN
0270-5257
Type
conf
DOI
10.1145/1368088.1368130
Filename
4814141
Link To Document