Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Debugging reinvented: asking and answering why and why not questions about program behavior
Ko A., Myers B.  ICSE 2008 (Proceedings of the 30th International Conference on Software Engineering, Leipzig, Germany, May 10-18, 2008)301-310.2008.Type:Proceedings
Date Reviewed: Jun 26 2009

Are we witnessing the birth of a new interaction paradigm that is not only for software debugging, but also for working with software in general?

Whyline is a debugging tool for Java that allows the user to view and get answers to “Why did...” and “Why didn’t...” questions about program output. During program execution, Whyline captures a trace that is then used to construct a user interface for navigating output history. Users move a slider back and forward in time and select screen elements of interest to expose “Why did...” and “Why didn’t...” questions. In the provided proof-of-concept painting application, the user can view questions, such as “Why did thickness = 5?” and “Why didn’t thickness change?” Whyline is nontrivial and makes use of static and dynamic slicing techniques, called graphs, and various other algorithms. Performance measurements indicate that Whyline is practical for program executions of no more than a few minutes.

In a pilot evaluation study, when asked to locate a bug, Whyline subjects were twice as fast as a group of Java experts using Eclipse 2.1. Ko and Myers concede, however, that this study has limited generality, since it involves only one task and relatively few subjects.

Importantly, Ko and Myers draw attention to the difficulties of adapting the Whyline approach to applications written in several languages and those that cross machine boundaries. A new generation of languages and architectures is required in order to fully realize the potential of the “Why did...” and “Why didn’t...” capabilities.

I strongly recommend this paper to all computer scientists.

Reviewer:  Andy Brooks Review #: CR137014 (1011-1148)
Bookmark and Share
  Reviewer Selected
Featured Reviewer
 
 
Debugging Aids (D.2.5 ... )
 
 
Tracing (D.2.5 ... )
 
 
User-Centered Design (H.5.2 ... )
 
 
Testing And Debugging (D.2.5 )
 
Would you recommend this review?
yes
no
Other reviews under "Debugging Aids": Date
Automatic correction and improvement of programs
Wertz H., Halsted Press, New York, NY, 1987. Type: Book (9789780470207642)
Dec 1 1987
Application debugging: an MVS ABEND handbook for COBOL, ASSEMBLY, PL/I, and FORTRAN programmers
Binder R., Prentice-Hall, Inc., Upper Saddle River, NJ, 1985. Type: Book (9789780130393487)
Aug 1 1985
A portable high-level database debugger and software performance monitor
Jankowitz H., Kilfoil P., Rabkin I., Schach S. Software--Practice & Experience 15(6): 523-538, 1985. Type: Article
Jun 1 1986
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy