Title :
Overview and benchmarks of pragmatic debugging techniques for wireless sensor networks
Author :
Brzozowski, M. ; Langendoerfer, P.
Author_Institution :
IHP, Frankfurt (Oder), Germany
Abstract :
Debugging of sensor nodes is tiresome and time-consuming, mainly because of limited debug features of nodes and complex interactions in sensor networks. Besides, each software level (hardware drivers, communication protocols, applications) needs a different approach to trace bugs. This paper surveys practical techniques that support bug tracing on nodes at various levels. Bugs may disappear when the program is being tested, for debugging results in extra processing delays. In this paper, we attack this problem by performing a set of micro-benchmarks for common debug techniques. We show their impact on the execution time and also their memory footprint. Based on our experience, we claim assertions to be the most effective debug technique for sensor networks. They result in negligible delays, less than a microsecond, making them suitable for any software level: from hardware drivers to applications. Further, since assertions stop the program execution just after detecting a failure, they narrow down the root cause of the problem. Finally, assertions support bug tracing in PC simulations and on real sensor nodes.
Keywords :
delays; program debugging; telecommunication computing; wireless sensor networks; PC simulation; bug tracing; common debug technique; microbenchmark; pragmatic debugging technique; sensor node; software level; wireless sensor network;
Conference_Titel :
Software, Telecommunications and Computer Networks (SoftCOM), 2013 21st International Conference on
Conference_Location :
Primosten
DOI :
10.1109/SoftCOM.2013.6671892