Debugging: An Analysis of Bug-Location Strategies
The DOI matches its Crossref record; 15 of the 15 references it cites were found in a registry or an index.
Abstract
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Protocol Analysis: Verbal Reports as Data
Venkatesan, M., Ericsson, K. A., & Simon, H. A. (1986) · Journal of Marketing Research · doi:10.2307/3151491 · Cited by 4,347
The perils of averaging data over strategies: An example from children's addition.
Siegler, R. S. (1987) · Journal of Experimental Psychology: General · doi:10.1037//0096-3445.116.3.250 · Cited by 671
Repair Theory: A Generative Theory of Bugs in Procedural Skills
Brown, J. S., & VanLehn, K. (1980) · Cognitive Science · doi:10.1207/s15516709cog0404_3 · Cited by 543
Stimulus structures and mental representations in expert comprehension of computer programs
Pennington, N. (1987) · Cognitive Psychology · doi:10.1016/0010-0285(87)90007-7 · Cited by 526
Mental Procedures in Real-Life Tasks: A Case Study of Electronic Trouble Shooting
RASMUSSEN, J., & JENSEN, A. (1974) · Ergonomics · doi:10.1080/00140137408931355 · Cited by 325
Cognitive objectives in a LOGO debugging curriculum: Instruction, learning, and transfer
Klahr, D., & Carver, S. M. (1988) · Cognitive Psychology · doi:10.1016/0010-0285(88)90004-7 · Cited by 222
Dynamic student modelling in an intelligent tutor for LISP programming
Reiser, B. J., Anderson, J. R., & Farrell, R. (1985) · International Joint Conference on Artificial Intelligence · Cited by 195
Self-citationReview and Evaluation of Empirical Research in Troubleshooting
Morris, N. M., & Rouse, W. B. (1985) · Human Factors The Journal of the Human Factors and Ergonomics Society · doi:10.1177/001872088502700502 · Cited by 135
Novice LISP Errors: Undetected Losses of Information from Working Memory
Anderson, J. R., & Jeffries, R. (1985) · Human–Computer Interaction · doi:10.1207/s15327051hci0102_2 · Cited by 131
Self-citationAnalyzing the high frequency bugs in novice programs
Spohrer, J. G., & Soloway, E. M. (1986) · Cited by 114
Problem solving techniques for the design of algorithms
Kant, E., & Newell, A. (1984) · Information Processing & Management · doi:10.1016/0306-4573(84)90042-6 · Cited by 102
The LISP tutor: it approaches the effectiveness of a human tutor
Anderson, J. R., & Reiser, B. J. (1985) · doi:10.5555/3351.3354 · Cited by 96
Self-citationComprehension differences in debugging by skilled and novice programmers
Gugerty, L. J., & Olson, G. M. (1986) · Cited by 83
A model of human decisionmaking in fault diagnosis tasks that include feedback and redundancy.
Rouse, W. B. (1979) · IEEE Transactions on Systems Man and Cybernetics · Cited by 40
Anderson, J. R., Corbett, A. T., & Reiser, B. J. (1986) · Cited by 24
Self-citation
Cited by
The state of the art in end-user software engineering
Ko, A. J., Abraham, R., Beckwith, L., Blackwell, A., Burnett, M., Erwig, M., Scaffidi, C., Lawrance, J., Lieberman, H., Myers, B., et al. (2011) · ACM Computing Surveys · doi:10.1145/1922649.1922658 · Cited by 633
Anderson, J. R. (1993) · American Psychologist · doi:10.1037//0003-066x.48.1.35 · Cited by 559
Self-citationStudents’ Misconceptions and Other Difficulties in Introductory Programming: A Literature Review
Qian, Y., & Lehman, J. (2018) · ACM Transactions on Computing Education · doi:10.1145/3077618 · Cited by 529
“For example, debugging can be considered as a specific instance of troubleshooting in a general problem-solving process that includes understanding the system, testing the system, locating the errors, and fixing the errors (Katz and Anderson 1987).”
Background(2014) · Psychology Press eBooks · doi:10.4324/9781315806723 · Cited by 314
Debugging: a review of the literature from an educational perspective
McCauley, R., Fitzgerald, S., Lewandowski, G., Murphy, L., Simon, B., Thomas, L., & Zander, C. (2008) · Computer Science Education · doi:10.1080/08993400802114581 · Cited by 267
Metadata
- Authors
- Katz, I., & Anderson, J.
- Venue
- Human-Computer Interaction
- Publisher
- Informa UK Limited
- Published
- 1987-12-01
- Volume
- 3
- Issue
- 4
- Pages
- 351-399
- ISSN
- 0737-0024 (ISSN-L)
- OpenAlex
- W2082679772
- Cited by
- 214
- References
- 15
- FWCI
- 7.56
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.