Dependence Analysis Based on Dynamic Slicing for Debugging

Chen Zhen-qiang,Xu Bao-wen
DOI: https://doi.org/10.1007/bf03160275
2001-01-01
Abstract:Dynamic program slicing is an effective technique for narrowing the errors to the relevant parts of a program when debugging. Given a slicing criterion, the dynamic slice contains only those statements that actually affect the variables in the slicing criterion. This paper proposes a dynamic slicing method based on static dependence analysis. It uses the program dependence graph and other static information to reduce the information needed to be traced during program execution. Thus, the efficiency is dramatically improved while the precision is not depressed. The slicing criterion is modified to fit for debugging. It consists of filename and the line number at which the statement is.
What problem does this paper attempt to address?