Causal-Consistent Reversible Debugging - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2014

Causal-Consistent Reversible Debugging


Reversible debugging provides developers with a way to execute their applications both forward and backward, seeking the cause of an unexpected or undesired event. In a concurrent setting, reversing actions in the exact reverse order they have been executed may lead to undo many actions that were not related to the bug under analysis. On the other hand, undoing actions in some order that violates causal dependencies may lead to states that could not be reached in a forward execution. We propose an approach based on causal-consistent reversibility: each action can be reversed if all its consequences have already been reversed. The main feature of the approach is that it allows the programmer to easily individuate and undo exactly the actions that caused a given misbehavior till the corresponding bug is reached. This paper major contribution is the individuation of the appropriate primitives for causal-consistent reversible debugging and their prototype implementation in the CaReDeb tool. We also show how to apply CaReDeb to individuate common real-world concurrent bugs.
Fichier principal
Vignette du fichier
revDB.pdf (336.81 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01089270 , version 1 (01-12-2014)



Elena Giachino, Ivan Lanese, Claudio Antares Mezzina. Causal-Consistent Reversible Debugging. FASE 2014, Apr 2014, Grenoble, France. pp.370 - 384, ⟨10.1007/978-3-642-54804-8_26⟩. ⟨hal-01089270⟩


54 View
270 Download



Gmail Facebook Twitter LinkedIn More