Programmers use slices when debugging
- 1 July 1982
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 25 (7), 446-452
- https://doi.org/10.1145/358557.358577
Abstract
Computer programmers break apart large programs into smaller coherent pieces. Each of these pieces: functions, subroutines, modules, or abstract datatypes, is usually a contiguous piece of program text. The experiment reported here shows that programmers also routinely break programs into one kind of coherent piece which is not coniguous. When debugging unfamiliar programs programmers use program pieces called slices which are sets of statements related by their flow of data. The statements in a slice are not necessarily textually contiguous, but may be scattered through a program.Keywords
This publication has 11 references indexed in Scilit:
- Program reduction using symbolic executionACM SIGSOFT Software Engineering Notes, 1981
- Expert and Novice Performance in Solving Physics ProblemsScience, 1980
- Understanding and debugging programsInternational Journal of Man-Machine Studies, 1980
- Syntactic/semantic interactions in programmer behavior: A model and experimental resultsInternational Journal of Parallel Programming, 1979
- Some psychological evidence on how people debug computer programsInternational Journal of Man-Machine Studies, 1975
- Correctness concerns and, among other things, why they are resentedPublished by Association for Computing Machinery (ACM) ,1975
- Reversible executionCommunications of the ACM, 1973
- Psychological evaluation of two conditional constructions used in computer languagesInternational Journal of Man-Machine Studies, 1973
- Retention of abstract ideas.Journal of Experimental Psychology, 1970
- A contribution to the development of ALGOLCommunications of the ACM, 1966