Skip to Main content Skip to Navigation
Journal articles

Dynamic slicing for Concurrent Constraint Languages

Moreno Falaschi 1 Maurizio Gabbrielli 2 Carlos Olarte 3 Catuscia Palamidessi 4
2 FOCUS - Foundations of Component-based Ubiquitous Systems
CRISAM - Inria Sophia Antipolis - Méditerranée , DISI - Dipartimento di Informatica - Scienza e Ingegneria [Bologna]
4 COMETE - Concurrency, Mobility and Transactions
Inria Saclay - Ile de France, LIX - Laboratoire d'informatique de l'École polytechnique [Palaiseau]
Abstract : Concurrent Constraint Programming (CCP) is a declarative model for concurrency where agents interact by telling and asking constraints (pieces of information) in a shared store. Some previous works have developed (approximated) declarative debuggers for CCP languages. However, the task of debugging concurrent programs remains difficult. In this paper we define a dynamic slicer for CCP (and other language variants) and we show it to be a useful companion tool for the existing debugging techniques. We start with a partial computation (a trace) that shows the presence of bugs. Often, the quantity of information in such a trace is overwhelming, and the user gets easily lost, since she cannot focus on the sources of the bugs. Our slicer allows for marking part of the state of the computation and assists the user to eliminate most of the redundant information in order to highlight the errors. We show that this technique can be tailored to several variants of CCP, such as the timed language ntcc, linear CCP (an extension of CCP-based on linear logic where constraints can be consumed) and some extensions of CCP dealing with epistemic and spatial information. We also develop a prototypical implementation freely available for making experiments.
Complete list of metadatas

Cited literature [55 references]  Display  Hide  Download
Contributor : Catuscia Palamidessi <>
Submitted on : Thursday, December 26, 2019 - 1:05:45 PM
Last modification on : Wednesday, January 8, 2020 - 1:35:03 AM


Files produced by the author(s)


  • HAL Id : hal-02423973, version 1


Moreno Falaschi, Maurizio Gabbrielli, Carlos Olarte, Catuscia Palamidessi. Dynamic slicing for Concurrent Constraint Languages. Fundamenta Informaticae, Polskie Towarzystwo Matematyczne, In press. ⟨hal-02423973⟩



Record views


Files downloads