Abstract
A debugger for Prolog has been developed which automates the reasoning ability required to pinpoint errors, resorting to the user only to ask about the intended program semantics, and making cooperative use of the declarative and the operational semantics. The algorithm is expressed in detail, a session protocol exhibited, comparison to other work made, but the implementation is not examined, nor the treatment of Prolog's extra-logical features. This is an abridged version of [Pereira 86].
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Lloyd, J. Declarative error diagnosis, Research report, Melbourne Univ.
Bruynooghe, M.: Pereira, L.M. Deduction revision through intelligent backtracking in “Issues in Prolog Implementation” (J.Campbell ed.), Ellis Horwood
Ferrand, G. Error diagnosis in logic programming, an adaptation of E. Y. Shapiro method, Rapport de Recherche 375, INRIA, Rocquencourt, 78153 Le Chesnay, France
Av-Ron, E. Top-down diagnosis of Prolog programs, Weizmanm Institute
Pereira, L.M.; Porto, A. Selective backtracking in “Logic Programming” (K.Clark, S.Tarnlund eds.), Academic Press 1982
Pereira, L.M., Rational debugging in logic programming, Research report, Univ. Nova de Lisboa
Shapiro, E. Algorithmic program debugging in “Proc. of 9th annual ACM Symp. on Principles of Programming Languages”
Shapiro, E. “Algorithmic Debugging” M.I.T. Press 1983
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1986 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Pereira, L.M. (1986). Rational debugging in logic programming. In: Shapiro, E. (eds) Third International Conference on Logic Programming. ICLP 1986. Lecture Notes in Computer Science, vol 225. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-16492-8_76
Download citation
DOI: https://doi.org/10.1007/3-540-16492-8_76
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-16492-0
Online ISBN: 978-3-540-39831-8
eBook Packages: Springer Book Archive