The Prolog Debugger and Declarative Programming. Examples
This is an incremental contribution aimed at logic programming practitioners, focusing on improving debugging tools for declarative programming in Prolog.
The paper addresses the inadequacy of the Prolog debugger for declarative programming by providing examples of methods to use it from a declarative perspective, as discussed in a companion paper.
This paper contains examples for a companion paper "The Prolog Debugger and Declarative Programming", which discusses (in)adequacy of the Prolog debugger for declarative programming. Logic programming is a declarative programming paradigm. Programming language Prolog makes logic programming possible, at least to a substantial extent. However the Prolog debugger works solely in terms of the operational semantics. So it is incompatible with declarative programming. The companion paper tries to find methods of using it from the declarative point of view. Here we provide examples of applying them.