Hierarchical Slicing Object-Oriented Programs for Debugging
Jianping Gao, Yajun Liu, Bixin Li · 2009
Hierarchical program slicing which is stratified calculated based on the inherent level characteristics of object-oriented programs is an effective technique for narrowing the errors to the relevant parts of a program and improving the efficiency when debugging. Given a hierarchical slicing criterion, the hierarchical slice contains only those packages, classes, methods and statements that actually affect the variables in the slicing criterion. This paper proposes a method step by step to narrow the scope of object-oriented program based on hierarchical slicing.