You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at http://www.ieee.org/web/publications/rights/copyrightpolicy.html)
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at http://www.acm.org/pubs/copyright_policy/)
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact webmaster@ide.mdh.se

Replay Debugging of Real-Time Systems Using Time Machines

Publication Type:

Conference/Workshop Paper

Venue:

Proceedings of the International Parallel and Distributed Processing Symposium (IPDPS03), presented at the First International Workshop on Parallel and Distributed Systems: Testing and Debugging (PADTAD)

Publisher:

ACM


Abstract

In this paper we present a new approach to deterministic replay using standard components. Our method facilitates cyclic debugging of real-time systems with industry standard real-time operating systems using industry standard debuggers. The method is based on a number of new techniques: A new marker for deterministic differentiation between e.g., loop iterations for deterministic reproduction of interrupts and task preemptions, an algorithm for finding well-defined starting points of replay sessions, as well as a technique for using conditional breakpoints in standard debuggers to replay the target system. We also propose and discuss different methods for deterministic monitoring, and provide benchmarking results from an industrial strength case study demonstrating the feasibility of our method. Previously published solutions to the problem of debugging real-time systems have been based on the concept of deterministic replay: where significant system events like task-switches of multitasking software and external inputs are recorded during run-time, and later replayed (re-executed) off-line. Previous works have been based on either non-standard hardware, specially designed compilers or modified real-time operating systems. The reliance on non-standard components has limited the success of the approach. Even though this idea has been around for 20 years, no industrial application for debugging of real-time systems of the method has been presented.

Bibtex

@inproceedings{Thane410,
author = {Henrik Thane and Daniel Sundmark and Joel Huselius and Anders Pettersson},
title = {Replay Debugging of Real-Time Systems Using Time Machines},
pages = {288--295},
month = {April},
year = {2003},
booktitle = {Proceedings of the International Parallel and Distributed Processing Symposium (IPDPS03), presented at the First International Workshop on Parallel and Distributed Systems: Testing and Debugging (PADTAD)},
publisher = {ACM},
url = {http://www.es.mdh.se/publications/410-}
}