LibReplay: Deterministic Replay for Bug Hunting in Sensor Networks
Paper in proceeding, 2015

Bug hunting in sensor networks is challenging: Bugs are often prompted by a particular, complex concatenation of events. Moreover, dynamic interactions between nodes and with the environment make it time-consuming to track and reproduce a bug. We introduce LibReplay to ease bug hunting in sensor networks: it provides (1) lightweight and flexible logging and (2) deterministic replay. LibReplay logs function calls to and from the application or another code of interest. It enables deterministic replay of execution traces in a controlled environment such as a full-system simulator. This allows the user to benefit from well-established debugging tools such as stepping through code, breakpoints, or watchpoints. We show that the lightweight architecture of LibReplay provides the benefits of replay debugging at an efficiency that is comparable to traditional logging tools, which commonly do not allow replay debugging.

Replay

Debugging

Wireless Sensor Networks

Simulation

Cyber Physical Systems

Internet of Things

Logging

Tracing

Author

Olaf Landsiedel

Chalmers, Computer Science and Engineering (Chalmers), Networks and Systems (Chalmers)

Elad Schiller

Chalmers, Computer Science and Engineering (Chalmers), Networks and Systems (Chalmers)

Salvatore Tomaselli

Chalmers, Computer Science and Engineering (Chalmers)

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

03029743 (ISSN) 16113349 (eISSN)

Vol. 8965 258-265
978-3-319-15582-1 (ISBN)

Areas of Advance

Information and Communication Technology

Transport

Roots

Basic sciences

Subject Categories

Communication Systems

DOI

10.1007/978-3-319-15582-1_18

ISBN

978-3-319-15582-1

More information

Latest update

3/2/2022 6