PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
July 1, 1982Communications of the ACM764 citationsOpen Access

Programmers use slices when debugging

MWMark Weiser

Key Points

  • This research aims to explore how programmers dissect large programs for debugging purposes.
  • Conducted an experiment involving programmers debugging unfamiliar programs
  • Analyzed how programmers identify and utilize slices
  • Investigated the relationship between statements in program slices
  • Programmers frequently use non-contiguous slices while debugging
  • Slices consist of sets of statements connected by data flow
  • Findings suggest that this approach aids in understanding complex code structure

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Mark Weiser (1982) studied this question.

synapsesocial.com/papers/6a0f79c201be78fe815fc439https://doi.org/10.1145/358557.358577
Ask AI
Helpful
Bookmark
Share
View Full Paper