How do you debug a system that experiences intermittent memory corruption or race conditions in embedded firmware?