Skip to main navigation Skip to search Skip to main content

Slicing concurrent constraint programs

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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 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 timed variants of CCP. We also develop a prototypical implementation freely available for making experiments.

Original languageEnglish
Title of host publicationLogic-Based Program Synthesis and Transformation - 26th International Symposium, LOPSTR 2016, Revised Selected Papers
EditorsManuel V. Hermenegildo, Pedro Lopez-Garcia
PublisherSpringer Verlag
Pages76-93
Number of pages18
ISBN (Print)9783319631387
DOIs
Publication statusPublished - 1 Jan 2017
Event26th International Symposium on Logic-Based Program Synthesis and Transformation, LOPSTR 2016 - Edinburgh, United Kingdom
Duration: 6 Sept 20168 Sept 2016

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10184 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference26th International Symposium on Logic-Based Program Synthesis and Transformation, LOPSTR 2016
Country/TerritoryUnited Kingdom
CityEdinburgh
Period6/09/168/09/16

Keywords

  • Concurrent constraint programming
  • Debugging
  • Program slicing

Fingerprint

Dive into the research topics of 'Slicing concurrent constraint programs'. Together they form a unique fingerprint.

Cite this