Concepedia

Publication | Closed Access

Debugging with dynamic slicing and backtracking

307

Citations

39

References

1993

Year

TLDR

Debugging consumes significant programmer effort, and existing symbolic debuggers offer limited high‑level assistance, leaving many tasks—such as identifying statements affecting output values or variable states at specific locations—to manual analysis. The study aims to enable substantial automation of debugging by providing tools that explicitly support these high‑level tasks. The authors propose a dynamic slicing and backtracking debugging model and implement it in the prototype tool SPYDER. The prototype tool SPYDER demonstrates the feasibility of the model and is being used for ongoing debugging research.

Abstract

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.

References

YearCitations

Page 1