Publications

Debugging for reactive programming

AuthorSalvaneschi, Guido; Mezini, Mira
Date2016
TypeConference Proceedings
AbstractReactive programming is a recent programming technique that provides dedicated language abstractions for reactive software. Reactive programming relieves developers from manually updating outputs when the inputs of a computation change, it overcomes a number of well-know issues of the Observer design pattern, and it makes programs more comprehensible. Unfortunately, complementing the new paradigm with proper tools is a vastly unexplored area. Hence, as of now, developers can embrace reactive programming only at the cost of a more challenging development process. In this paper, we investigate a primary issue in the field: debugging programs in the reactive style. We analyze the problem of debugging reactive programs, show that the reactive style requires a paradigm shift in the concepts needed for debugging, and propose RP Debugging, a methodology for effectively debugging reactive programs. These ideas are implemented in Reactive Inspector, a debugger for reactive programs integrated with the Eclipse Scala IDE. Evaluation based on a controlled experiment shows that RP Debugging outperforms traditional debugging techniques.
Isbn978-1-4503-3900-1
InICSE '16 Proceedings of the 38th International Conference on Software Engineering, p.796-807
PublisherACM
PartnTUD-CS-2016-14774
Urlhttps://tubiblio.ulb.tu-darmstadt.de/id/eprint/98172