| Debugging: the good, the bad, and the quirky -- a qualitative analysis of novices' strategies |
| Full text |
Pdf
(223 KB)
|
Source
|
Technical Symposium on Computer Science Education
archive
Proceedings of the 39th SIGCSE technical symposium on Computer science education
table of contents
Portland, OR, USA
SESSION: Debugging
table of contents
Pages 163-167
Year of Publication: 2008
ISBN:978-1-59593-799-5
Also published in ...
|
|
Authors
|
|
Laurie Murphy
|
Pacific Lutheran University, Tacoma, WA, USA
|
|
Gary Lewandowski
|
Xavier University, Cincinnati, OH, USA
|
|
Renée McCauley
|
College of Charleston, Charleston, SC, USA
|
|
Beth Simon
|
University of California, San Diego, La Jolla, CA, USA
|
|
Lynda Thomas
|
Universit of Aberystwyth, Aberystwyth, Wales Uk
|
|
Carol Zander
|
University of Washington, Bothell, Bothell, WA, USA
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 23, Downloads (12 Months): 157, Citation Count: 2
|
|
|
ABSTRACT
A qualitative analysis of debugging strategies of novice Java programmers is presented. The study involved 21 CS2 students from seven universities in the U.S. and U.K. Subjects "warmed up" by coding a solution to a typical introductory problem. This was followed by an exercise debugging a syntactically correct version with logic errors. Many novices found and fixed bugs using strategies such as tracing, commenting out code, diagnostic print statements and methodical testing. Some competently used online resources and debuggers. Students also used pattern matching to detect errors in code that "just didn't look right". However, some used few strategies, applied them ineffectively, or engaged in other unproductive behaviors. This led to poor performance, frustration for some, and occasionally the introduction of new bugs. Pedagogical implications and suggestions for future research are discussed.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
|
 |
3
|
Sue Fitzgerald , Beth Simon , Lynda Thomas, Strategies that students use to trace code: an analysis based in grounded theory, Proceedings of the 2005 international workshop on Computing education research, p.69-80, October 01-02, 2005, Seattle, WA, USA
[doi> 10.1145/1089786.1089793]
|
| |
4
|
S. Fitzgerald, G. Lewandowski, R. McCauley, L. Murphy, B. Simon, L. Thomas and C. Zander. Debugging: Finding, Fixing and Flailing -A multi-institutional study of novice debuggers. Forthcoming in Computer Science Education - Special Issue on Debugging, 18(2), June 2008.
|
| |
5
|
Gould. Some psychological evidence on how people debug computer programs. International J. of Man-Machine Studies, 7(1), pp. 151--182, 1975.
|
 |
6
|
|
| |
7
|
I. Katz and J. Anderson. Debugging: An analysis of bug location strategies. Human-Computer Interaction, 3(4):351--399, 1987.
|
| |
8
|
|
 |
9
|
Robert McCartney , Anna Eckerdal , Jan Erik Mostrom , Kate Sanders , Carol Zander, Successful students' strategies for getting unstuck, Proceedings of the 12th annual SIGCSE conference on Innovation and technology in computer science education, June 25-27, 2007, Dundee, Scotland
|
| |
10
|
McCauley, S. Fitzgerald, G. Lewandowski, L. Murphy, B. Simon, L. Thomas and C. Zander. Debugging: A review of the literature from an educational perspective. Forthcoming in Computer Science Education -- Special Issue on Debugging, 18(2), June 2008.
|
| |
11
|
|
| |
12
|
|
| |
13
|
Vessey. Expertise in debugging computer pro-grams: A process analysis. International J. of Man-Machine Studies, 23, pp. 459--494, 1985.
|
CITED BY 2
|
|
|
|
|
Judy Sheard , S. Simon , Margaret Hamilton , Jan Lönnberg, Analysis of research into the teaching and learning of programming, Proceedings of the fifth international workshop on Computing education research workshop, August 10-11, 2009, Berkeley, CA, USA
|
|