Debugging functional programs

被引:0
|
作者
Stumptner, M [1 ]
Wotawa, F [1 ]
机构
[1] Vienna Tech Univ, Inst Informat Syst, A-1040 Vienna, Austria
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this paper, we use a logic-based system description for a simple (non-logic) functional language to examine the ways in which a diagnosis system can use its system description to improve debugging performance. The key concept is that the notion of expression replacement, which is the basis for repairing a program, can also serve as a fundamental heuristic for searching the source of an error. We formally define replacements in terms of fault modes, explicitly define a replacement order, and use the replacement heuristic for finding diagnoses. Finally, we incorporate the use of multiple test cases and discuss their use in discriminating between diagnoses.
引用
收藏
页码:1074 / 1079
页数:6
相关论文
共 50 条
  • [1] Transformation and debugging of functional logic programs
    Alpuente M.
    Ballis D.
    Falaschi M.
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2010, 6125 : 271 - 299
  • [2] Direct Interpretation of Functional Programs for Debugging
    Whitington, John
    Ridge, Tom
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2019, (294): : 41 - 73
  • [3] LAZY DEBUGGING OF LAZY FUNCTIONAL PROGRAMS
    SNYDER, RM
    NEW GENERATION COMPUTING, 1990, 8 (02) : 139 - 161
  • [4] Proving the Correctness of Algorithmic Debugging for Functional Programs
    Luo, Yong
    Chitil, Olaf
    TRENDS IN FUNCTIONAL PROGRAMMING, VOL 7, 2007, 7 : 19 - 34
  • [5] Debugging lazy functional programs by asking the oracle
    Brassel, Bernd
    Siegel, Holger
    IMPLEMENTATION AND APPLICATION OF FUNCTIONAL LANGUAGES, 2008, 5083 : 183 - 200
  • [7] Theoretical foundations for the declarative debugging of lazy functional logic programs
    Cabalbero, R
    López-Fraguas, FJ
    Rodríguez-Artalejo, M
    FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 170 - 184
  • [8] UNDERSTANDING AND DEBUGGING PROGRAMS
    LUKEY, FJ
    INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1980, 12 (02): : 189 - 202
  • [9] Debugging DVM Programs
    V. A. Krukov
    R. V. Udovichenko
    Programming and Computer Software, 2001, 27 : 123 - 129
  • [10] DEBUGGING CONCURRENT PROGRAMS
    MCDOWELL, CE
    HELMBOLD, DP
    COMPUTING SURVEYS, 1989, 21 (04) : 593 - 622