Concurrent algorithmic debugging

Lichtenstein, Yossi and Shapiro, Ehud (1988) Concurrent algorithmic debugging. SIGPLAN Not., 24 (1). pp. 248-260.

Full text not available from this repository.

Abstract

Algorithmic Debugging is a theory of debugging that uses queries on the compositional semantics of a program in order to localize bugs. It uses the following principle: if a computation of a program's component gives an incorrect result, while all the subcomputations it invokes compute correct results, then the code of this component is erroneous. Algorithmic Debugging is applied, in this work, to reactive systems, in particular to programs written in Flat Concurrent Prolog (FCP). Debugging reactive systems is known to be more difficult than the debugging of functional systems. A functional system is fully described by the relation between its initial input and final output; this context-freedom is used in debugging. A reactive system continuously responds to external inputs, thus its debugging cannot make use of context-free input/output relations. Given a compositional semantic model for a concurrent programming language, we demonstrate how one can directly apply the ideas of Algorithmic Debugging to obtain a theory of program debugging for the considered language. The conflict between the context-freedom of input/ output relations and the reactive nature of concurrent systems is resolved by using semantic objects which record the reactive nature of the system's components. In functional algorithmic debugging the queries relate to input/output relations; in concurrent algorithmic debugging the queries refer to semantic objects called processes which capture the reactive nature of FCP computations. A diagnosis algorithm for incorrect FCP programs is proposed. The algorithm gets an erroneous computation and using queries isolates an erroneous clause or an incomplete procedure. An FCP implementation of the diagnosis algorithm demonstrates the usefulness as well as the difficulties of Algorithmic Debugging of FCP programs.

Item Type: Article
Faculty \ School: Faculty of Social Sciences > Norwich Business School
Depositing User: Elle Green
Date Deposited: 05 Jul 2012 09:26
Last Modified: 15 Dec 2022 02:11
URI: https://ueaeprints.uea.ac.uk/id/eprint/39065
DOI: 10.1145/69215.69239

Actions (login required)

View Item View Item