Notes on “Programmers use slices when debugging”

June 24, 2009

Programmers use slices when debugging: Mark Weiser

I’ve mentioned slicing before. This is one of the original papers.

When programmer’s use a “working backward” debugging strategy, they are in fact constructing slices. Weiser tested this with an experiment: Programmers debug three programs. They are then quizzed on the parts of the program they remember. The hypothesis is supported if the programmers remember slices relevant to the errors better than other parts of the program.

%d bloggers like this: