Title
Declarative Debugging of Rewriting Logic Specifications
Abstract
Declarative debugging is a semi-automatic technique that starts from an incorrect computation and locates a program fragment responsible for the error by building a tree representing this computation and guiding the user through it to find the wrong statement. This paper presents the fundamentals for the declarative debugging of rewriting logic specifications, realized in the Maude language, where a wrong computation can be a reduction, a type inference, or a rewrite. We define appropriate debugging trees obtained as the result of collapsing in proof trees all those nodes whose correctness does not need any justification. Since these trees are obtained from a suitable semantic calculus, the correctness and completeness of the debugging technique can be formally proved. We illustrate how to use the debugger by means of an example and succinctly describe its implementation in Maude itself thanks to its reflective and metalanguage features.
Year
DOI
Venue
2012
10.1007/978-3-642-03429-9_20
J. Log. Algebr. Program.
Keywords
DocType
Volume
logic specification,wrong computation,incorrect computation,appropriate debugging tree,maude language,semi-automatic technique,declarative debugging,rewriting logic specifications,debugging technique,metalanguage feature,wrong statement,type inference,rewriting logic
Journal
81
Issue
ISSN
Citations 
7-8
0302-9743
10
PageRank 
References 
Authors
0.64
25
4
Name
Order
Citations
PageRank
Adrián Riesco115724.66
Alberto Verdejo231026.87
Rafael Caballero325416.97
Narciso Martí-oliet4135797.35