Debugging with dynamic slicing and backtracking
Hiralal Agrawal, Richard A. DeMillo, Eugene Howard Spafford · Software Practice and Experience · 1993
Abstract Programmers spend considerable time debugging code. Symbolic debuggers provide some help but the task remains complex and difficult. Other than breakpoints and tracing, these tools provide little high‐level help. Programmers must perform many tasks manually that the tools could perform automatically, such as finding which statements in the program affect the value of an output variable for a given test case, and what was the value of a given variable when the control last reached a given program location. If debugging tools provided explicit support for these tasks, the debugging process could be automated to a significant extent. In this paper we present a debugging model, based on dynamic program slicing and execution backtracking techniques, that easily lends itself to automation. This model is based on experience with using these techniques to debug software. We also present a prototype debugging tool, SPYDER, that explicitly supports the proposed model, and with which we are performing further debugging research.
Cited by 311 works. doi:10.1002/spe.4380230603
Authors
References
- Program Slicing
- The program dependence graph and its use in optimization
- Interprocedural slicing using dependence graphs
- The Cornell program synthesizer
- Programmers use slices when debugging
- The program dependence graph in a software development environment
- Integrating noninterfering versions of programs
- Dynamic program slicing
- Debugging Techniques in Large Systems
- Using program slicing in software maintenance