Dependence-Based Source Level Tracing and Replay for Networked Embedded Systems