I was writing a simple calculator in JavaScript and spent ages wondering why the output was always wrong. Turns out I had named two variables 'sum' and 'total' but kept using them backwards, and a quick print statement saved my sanity.
I was testing a circuit for the flight displays on a King Air yesterday. The probe from my multimeter slid and nearly bridged two terminals on the back of the unit. One quick zap there could have cooked a whole stack of expensive avionics. Double-check your tool placement before you poke around, right?