Causal-Consistent Reversible Debugging

Abstract : 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.
Liste complète des métadonnées

Cited literature [19 references]  Display  Hide  Download

https://hal.inria.fr/hal-01089270
Contributor : Ivan Lanese <>
Submitted on : Monday, December 1, 2014 - 2:34:48 PM
Last modification on : Saturday, January 27, 2018 - 1:31:31 AM
Document(s) archivé(s) le : Monday, March 2, 2015 - 1:32:46 PM

File

revDB.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

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⟩

Share

Metrics

Record views

100

Files downloads

199