A Global-State Perspective on Sensor Network Debugging
M. Lodder, GP Halkes, KG Langendoen
Debugging wireless sensor networks (WSN) is a notoriously hard problem. WSNs share the debugging problems of both embedded- and distributed systems. The result is that it is very hard to get an insight into the inner workings of a real-world WSN. We have designed the Monitored External Global State (MEGS) tool that recreates the global state of a WSN from debug output. With MEGS a developer can define assertions and predicates on the global state of a WSN, rather than the state of only a single node. Using MintRoute as a test case, we show that MEGS makes available information that was previously exceedingly difficult to obtain.