Critical slice and its application to program debugging

被引:0
|
作者
Shimomura, Takao [1 ]
机构
[1] NTT Software Lab
来源
NTT R and D | 1993年 / 42卷 / 08期
关键词
Algorithms - Computer software - Error correction - Error detection - Fault tolerant computer systems - Program diagnostics;
D O I
暂无
中图分类号
学科分类号
摘要
Existing algorithmic debugging methods which can locate faults under the guidance of a system have a number of problems. For example, they cannot be applied to imperative languages with side effects, or they can locate a faulty function but not a faulty statement, or they cannot detect faults related to missing statements. This paper presents an algorithmic critical slice-based fault-locating method for imperative languages. The paper first classifies program faults into two categories : wrong-value faults and missing-assignment faults. The critical slice with respect to a variable-value error is a set of statements such that (1) a wrong-value fault contained in any instruction in the critical slice may have caused that variable-value error, and (2) a wrong-value fault contained in any instruction outside the critical slice could definitely not have caused that variable-value error. The paper then shows that it is possible to algorithmically locate any fault, including missing statements, by dividing the critical slice at a certain point and then examining the values of the flow-data, which are the variables whose values are flowing across that division point.
引用
下载
收藏
页码:1017 / 1026
相关论文
共 50 条
  • [41] Reversible debugging using program instrumentation
    Chen, SK
    Fuchs, WK
    Chung, JY
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (08) : 715 - 727
  • [42] The relationship of slicing and debugging to program understanding
    Francel, MA
    Rugaber, S
    SEVENTH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 1999, : 106 - 113
  • [43] Introduction to the special issue on program debugging
    Xie, Xiaoyuan
    Stumptner, Markus
    Tse, T. H.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 140 : 109 - 110
  • [44] Array visualization for parallel program debugging
    Kranzlmüller, D
    Schaubschläger, C
    Volkert, J
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS I-V, 2000, : 2615 - 2621
  • [45] COMPUTER-PROGRAM DEBUGGING BY EXPERTS
    JEFFRIES, R
    BULLETIN OF THE PSYCHONOMIC SOCIETY, 1981, 18 (02) : 67 - 67
  • [46] A static analysis for program understanding and debugging
    Gaugne, R
    AUTOMATED SOFTWARE ENGINEERING, 12TH IEEE INTERNATIONAL CONFERENCE, PROCEEDINGS, 1997, : 297 - 298
  • [47] Combining Program Slicing and Algorithmic Debugging to Diagnose a PLC program
    Baniyounis, Mohammed
    Mesmar, AlMutazbellah
    2019 16TH INTERNATIONAL MULTI-CONFERENCE ON SYSTEMS, SIGNALS & DEVICES (SSD), 2019, : 246 - 249
  • [48] On the control structure of a program slice
    Hsieh, CS
    Unger, EA
    JOURNAL OF SYSTEMS AND SOFTWARE, 1996, 34 (02) : 123 - 126
  • [49] PROGRAM SLICE DISTRIBUTION FUNCTIONS
    Gore, Ross
    Reynolds, Paul F., Jr.
    PROCEEDINGS OF THE 2009 WINTER SIMULATION CONFERENCE (WSC 2009 ), VOL 1-4, 2009, : 1072 - 1083
  • [50] Debugging with NTSD and application verifier - Free debugging tools from microsoft
    Garvan, Patrick
    DR DOBBS JOURNAL, 2007, 32 (09): : 46 - +