Given a scenario where an embedded system fails in the field, what steps would you take to diagnose the issue?