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 条
  • [21] Test-based behaviour model derivation and adaption to enable automated test case scheduling for automated production systems
    Land, Kathrin
    Vogel-Heuser, Birgit
    Off, Richard
    PRODUCTION ENGINEERING-RESEARCH AND DEVELOPMENT, 2025, 19 (01): : 1 - 13
  • [22] Automated test data generation based on program execution
    Li, Jun-Yi
    Sun, Jia-Guang
    Lu, Ying-Ping
    FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS, PROCEEDINGS, 2006, : 229 - +
  • [23] Preamble computation in automated test case generation using constraint logic programming
    Colin, S
    Legeard, B
    Peureux, F
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2004, 14 (03): : 213 - 235
  • [24] Automated Test Generation for Debugging Multiple Bugs in Arithmetic Circuits
    Farahmandi, Farimah
    Mishra, Prabhat
    IEEE TRANSACTIONS ON COMPUTERS, 2019, 68 (02) : 182 - 197
  • [25] Improved program of automated grid for the need of model test measurement
    Bai, Yiru
    Bai, Shiwei
    Feng, Chuanyu
    Yanshilixue Yu Gongcheng Xuebao/Chinese Journal of Rock Mechanics and Engineering, 2003, 22 (04): : 543 - 546
  • [26] A Case for Automated Debugging Using Data Structure Repair
    Malik, Muhammad Zubair
    Ghori, Khalid
    Elkarablieh, Bassem
    Khurshid, Sarfraz
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 620 - 624
  • [27] Explainable automated debugging via large language model-driven scientific debugging
    Kang, Sungmin
    Chen, Bei
    Yoo, Shin
    Lou, Jian-Guang
    EMPIRICAL SOFTWARE ENGINEERING, 2025, 30 (02)
  • [28] Automated test case selection based on subpurposes
    Csöndes, T
    Kotnyek, B
    TESTING OF COMMUNICATING SYSTEMS: METHODS AND APPLICATIONS, 1999, 21 : 251 - 265
  • [29] A Framework for Debugging Automated Program Verification Proofs via Proof Actions
    Cho, Chanhee
    Zhou, Yi
    Bosamiya, Jay
    Parno, Bryan
    COMPUTER AIDED VERIFICATION, PT I, CAV 2024, 2024, 14681 : 348 - 361
  • [30] Special Issue on Program Verification, Automated Debugging and Symbolic Computation Foreword
    Jebelean, Tudor
    Li, Wei
    Wang, Dongming
    JOURNAL OF SYMBOLIC COMPUTATION, 2017, 80 : 1 - 3