About TinyTracer

TinyTracer statically analyzes nesC programs and instruments the code automatically to generate a highly compressed trace at run-time. The trace is recorded in the flash and can be retrieved for later use.This trace is useful in localizing bugs and can also be used to replay the execution.

The tool uses the CIL source to source transformation tool to instrument C code generated by nesC compiler. The instrumented code is then compiled with msp-gcc/avr-gcc to create the executable that can run on mica2 motes as well as on simulators Atemu, Avrora or Tossim. The package also includes a trace parser using Python that can uncompress and pretty-print the trace.