I recommend Henry S.F. Cooper's book _The Morning Star_, which is about debugging hardware failures and OS race conditions on a spacecraft orbiting Venus.
(There are similar stories about debugging stuff on the various Martian rovers, but Cooper's book is a very good treatment...).