Automated debugging based on a constraint model of the program and a test case

被引:27
|
作者
Wotawa, Franz [1 ]
Nica, Mihai [1 ]
Moraru, Iulia [1 ]
机构
[1] Graz Univ Technol, Inst Software Technol, A-8010 Graz, Austria
来源
关键词
Automated debugging; Algorithmic debugging; Model-based debugging; Constraints; Constraint satisfaction problem; SINGLE-ASSIGNMENT FORM; GENERATION; DIAGNOSIS;
D O I
10.1016/j.jlap.2012.03.002
中图分类号
学科分类号
摘要
Debugging, i.e., fault localization, in case of a detected failure is a time consuming and intricate task. The automation or at least partial automation of debugging is therefore highly desired. In this paper, we discuss some of the most recent approaches for debugging namely spectrum-based, slicing-based, and model-based debugging. We focus on the latter, and introduce the underlying theory as well as discuss empirical results obtained from our implementation. The model-based approach we present in this paper relies on a constraint representation of a program that is equivalent to the original program in terms of the input-output behavior under some reasonable assumptions. By using constraints for representing programs and subsequently test cases we are able to state the debugging problem as a constraint satisfaction problem that can be effectively solved using a todays constraint solver. The given empirical results indicate that the approach can be used for debugging smaller programs in less than 1 s. Moreover, we briefly compare the three approaches and suggest a combination of them in order to improve the results and the overall necessary running time. (C) 2012 Elsevier Inc. All rights reserved.
引用
收藏
页码:390 / 407
页数:18
相关论文
共 50 条
  • [41] NAGUAL: A Novel Automated Trust Negotiation Model Based on Attribute Constraint
    Zhang, Shuqin
    Guan, Shangyuan
    Mei, Yiduo
    Pan, Lei
    2009 INTERNATIONAL CONFERENCE ON NETWORKING AND DIGITAL SOCIETY, VOL 1, PROCEEDINGS, 2009, : 63 - +
  • [42] DEBUGGING TECHNOLOGIES OF AN AUTOMATED IRS IN ELECTRICAL ENGINEERING - CASE STUDY
    MALININ, SG
    CHERNYAVSKII, VS
    SHNEERSON, AZ
    NAUCHNO-TEKHNICHESKAYA INFORMATSIYA SERIYA 2-INFORMATSIONNYE PROTSESSY I SISTEMY, 1971, (01): : 21 - +
  • [43] AUTOMATED TEST-CASE SELECTION BASED ON TEST COVERAGE METRICS
    MCALLISTER, M
    VUONG, ST
    ALILOVICCURGUS, J
    PROTOCOL TEST SYSTEMS, V, 1993, 11 : 93 - 104
  • [44] Automated Test Case Generation based on Coverage Analysis
    Majchrzak, Tim A.
    Kuchen, Herbert
    THIRD INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 259 - 266
  • [45] Model-based Approach for Automated Test Case Generation from Visual Requirement Specifications
    Singi, Kapil
    Era, Dipin
    Kaulgud, Vikrant
    2015 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2015,
  • [46] Automated Test Case Selection Using Feature Model: An Industrial Case Study
    Wang, Shuai
    Gotlieb, Arnaud
    Ali, Shaukat
    Liaaen, Marius
    MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, 2013, 8107 : 237 - 253
  • [47] Executable Program Documentation Based on Debugging Break Points
    Cheng, Yung-Pin
    Chen, Jhih-Hao
    Yu, Yu-Ying
    2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 1, 2013, : 199 - 206
  • [48] The Java2CSP Debugging Tool Utilizing Constraint Solving and Model-Based Diagnosis Principles
    Wotawa, Franz
    Dumitru, Vlad Andrei
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2022, 13343 LNAI : 543 - 554
  • [49] Strategy of deterministic replay debugging based on the event model in distributed debugging
    Li Q.-S.
    Li J.
    Ye H.
    Du L.
    Xi'an Dianzi Keji Daxue Xuebao/Journal of Xidian University, 2010, 37 (05): : 872 - 878
  • [50] Toward a Constraint Based Test Case Generation of Parallel BPEL Process
    Serbout, Sara
    Benattou, Mohammed
    PROCEEDINGS OF 2018 6TH INTERNATIONAL CONFERENCE ON MULTIMEDIA COMPUTING AND SYSTEMS (ICMCS), 2018, : 329 - 334