Bug Bashing Techniques: Because Your Code is in Therapy

Therapy Session 1: The Panic Button Method

When you're faced with a bug that's just won't go away, press the panic button. Literally. Press it hard.

Repeat as necessary until the bug is resolved or you've lost all sanity.

Therapy Session 2: The Google Search Method

Stare at the error log for 5 minutes.

Repeat as necessary until you find the correct solution or your eyes bleed.