Skip to Main content Skip to Navigation
Conference papers

Causal-Consistent Debugging of Distributed Erlang Programs

Giovanni Fabbretti 1 Ivan Lanese 2 Jean-Bernard Stefani 1 
1 SPADES - Sound Programming of Adaptive Dependable Embedded Systems
Inria Grenoble - Rhône-Alpes, LIG - Laboratoire d'Informatique de Grenoble
2 FOCUS - Foundations of Component-based Ubiquitous Systems
CRISAM - Inria Sophia Antipolis - Méditerranée , DISI - Dipartimento di Informatica - Scienza e Ingegneria [Bologna]
Abstract : Debugging concurrent programs is an interesting application of reversibility. It has been renewed with the recent proposal by Giachino et al. to base the operations of a concurrent debugger on a causal-consistent reversible semantics, and subsequent work on CauDEr, a causal-consistent debugger for the Erlang programming language. This paper extends CauDEr and the related theory with the support for distributed programs. Our extension allows one to debug programs in which processes can run on different nodes, and new nodes can be created at runtime. From the theoretical point of view, the primitives for distributed programming give rise to more complex causal structures than those arising from the concurrent fragment of Erlang handled in CauDEr, yet we show that the main results proved for CauDEr still hold. From the practical point of view, we show how to use our extension of CauDEr to find a non trivial bug in a simple way.
Complete list of metadata

https://hal.inria.fr/hal-03338670
Contributor : Ivan Lanese Connect in order to contact the contributor
Submitted on : Thursday, September 9, 2021 - 12:04:55 AM
Last modification on : Wednesday, July 6, 2022 - 4:19:29 AM
Long-term archiving on: : Friday, December 10, 2021 - 6:09:56 PM

File

paper-rc2021.pdf
Files produced by the author(s)

Identifiers

Citation

Giovanni Fabbretti, Ivan Lanese, Jean-Bernard Stefani. Causal-Consistent Debugging of Distributed Erlang Programs. RC 2021 - 13th Conference on Reversible Computation, Jul 2021, Nagoya, Japan. pp.79-95, ⟨10.1007/978-3-030-79837-6_5⟩. ⟨hal-03338670⟩

Share

Metrics

Record views

47

Files downloads

94