Journal of Jilin University(Information Science Ed ›› 2014, Vol. 32 ›› Issue (5): 528-533.

Previous Articles     Next Articles

Research on Fault Localization Based on Execution Trace and Dynamic Slicing

SUN Shiming1, HOU Xiuping1, GAO Can2, SUN Linlin1   

  1. 1. School of Computer Science and Engineering, Changchun University of Technology, Changchun 130012, China;2. The First Affiliated Hospital, Soochow University, Suzhou 215006, China
  • Received:2014-01-14 Online:2014-09-26 Published:2014-12-26

Abstract:

The problem of faulty localization during program debugging is studied, and execution trace and dynamic slicing are applied to faulty localization. Irrelevant statements of fault localization are included in execution trace, accuracy of fault localization is affected by these statements. The influence of irrelevant tatements is reduced by dynamic slicing technology based on execution trace. The model of suspicious degrees computing based on execution trace and dynamic slicing had been established, and suspicious degree of each statements could be computed by this model. After sorting these statements by their suspicious degrees, recommendation of fault localization would be reached. The experimental results are compared with other algorithms, and the method of faulty localization based on execution trace and dynamic slicing is proved effective.

Key words: execution trace, dynamic slicing, suspicious degrees

CLC Number: 

  • TP311