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 条
  • [31] CRITICAL SLICE MRP
    BROOKS, RB
    COLDRICK, A
    APICS 32ND INTERNATIONAL CONFERENCE PROCEEDINGS : SOLUTIONS FOR PROGRESS, 1989, : 393 - 396
  • [32] A reified interface for a tutor on program debugging
    Kumar, AN
    3RD IEEE INTERNATIONAL CONFERENCE ON ADVANCED LEARNING TECHNOLOGIES, PROCEEDINGS, 2003, : 190 - 194
  • [33] AN EXPERT SYSTEM FOR COBOL PROGRAM DEBUGGING
    LITECKY, C
    DATA BASE, 1989, 20 (01): : 1 - 6
  • [34] CIRCUIT STEPS PROGRAM FOR 8080 DEBUGGING
    WAKERLY, JF
    ELECTRONICS, 1976, 49 (16): : 110 - 111
  • [35] PROGRAM DEBUGGING WITH PASCAL-64000
    MCDONLEY, PA
    HEWLETT-PACKARD JOURNAL, 1980, 31 (10): : 22 - 23
  • [36] THE ACTIVITY OF COMPARING REPRESENTATIONS IN PROGRAM DEBUGGING
    VISSER, W
    TRAVAIL HUMAIN, 1988, 51 (04): : 351 - 362
  • [37] Localizing program errors for cimple debugging
    Basu, S
    Saha, D
    Smolka, SA
    FORMAL TECHNIQUES FOR NETWORKED AND DISTRIBUTED SYSTEMS - FORTE 2004, PROCEEDINGS, 2004, 3235 : 79 - 96
  • [38] Cognitive process during program debugging
    Xu, SC
    Rajlich, V
    PROCEEDINGS OF THE THIRD IEEE INTERNATIONAL CONFERENCE ON COGNITIVE INFORMATICS, 2004, : 176 - 182
  • [39] Explaining and Debugging Pathological Program Behavior
    Eberlein, Martin
    PROCEEDINGS OF THE 30TH ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2022, 2022, : 1795 - 1799
  • [40] A generic preprocessor for program validation and debugging
    Puebla, G
    Bueno, F
    Hermenegildo, M
    ANALYSIS AND VISUALIZATION TOOLS FOR CONSTRAINT PROGRAMMING, 2000, 1870 : 63 - 107