Title :
Deterministic Replay Debugging of IEC 61131-3 SoftPLC programs
Author :
Prähofer, Herbert ; Schatz, Roland ; Wirth, Christian ; Mössenböck, Hanspeter
Author_Institution :
Christian Doppler Lab. for Automated Software Eng., Johannes Kepler Univ., Linz, Austria
Abstract :
Determimstic Replay Debugging is an approach to finding field failures in application runs. It records an application run so that it can be replayed deterministically in a development system for debugging purposes without connection to a physical environment. In this paper, we present a solution for deterministic replay debugging of hard real-time SoftPLC applications written in the IEC 61131-3 languages. By taking advantage of the special properties of these programs and by careful engineering, our technique allows recording a SoftPLC application run with minimal overhead and obeying real-time constraints. In later phases, which are off-line, the original program run is reconstructed to be replayed for debugging. We present the conceptual basis of our approach, a tool chain including a time-traveling debugger, and an evaluation as well as an industrial case study for validating the approach.
Keywords :
control engineering computing; programmable controllers; real-time systems; IEC 61131-3 SoftPLC programs; IEC 61131-3 languages; deterministic replay debugging; hard real-time SoftPLC applications; real-time constraint; time traveling debugger; Debugging; Electrical equipment industry; IEC standards; Laboratories; Operating systems; Programmable control; Real time systems; Software engineering; System software; Testing;
Conference_Titel :
Industrial Informatics (INDIN), 2010 8th IEEE International Conference on
Conference_Location :
Osaka
Print_ISBN :
978-1-4244-7298-7
DOI :
10.1109/INDIN.2010.5549586