首页   按字顺浏览 期刊浏览 卷期浏览 Debugging: An Analysis of Bug-Location Strategies
Debugging: An Analysis of Bug-Location Strategies

 

作者: Irvin R. Katz,   John R. Anderson,  

 

期刊: Human–Computer Interaction  (Taylor Available online 1987)
卷期: Volume 3, issue 4  

页码: 351-399

 

ISSN:0737-0024

 

年代: 1987

 

DOI:10.1207/s15327051hci0304_2

 

出版商: Lawrence Erlbaum Associates, Inc.

 

数据来源: Taylor

 

摘要:

This article presents a series of four experiments investigating students' debugging of LISP programs. The experiments involve a population of students who know LISP reasonably well in that their errors are best classified as slips (Brown & Van Lehn, 1980). That is, students are unlikely to repeat the same errors either within their program or across programs (Experiment 1). The students' understanding of LISP is also reflected in their debugging behavior: They can usually fix a bug once they locate it. Students' difficulties are in locating the erroneous line of code. We observe that students use a variety of bug-location strategies during debugging (Experiment 2) and that the choice of strategy differs depending on whether students are debugging their own programs or other students' programs (Experiment 3). In addition, we observe that although the different bug-location strategies affect which lines of a program are searched, once students decide on a line, their ability to judge whether or not the line is correct and their ability to correct an error are not substantially affected by the strategy used to locate the line (Experiment 4). Finally, we argue that our results have implications not only for debugging in other computer languages, but for the general processes involved in troubleshooting as well.

 

点击下载:  PDF (2451KB)



返 回