Before updating logic to inject TMR while tracing