42. When debugging is getting you down, go outside and look at the sky or the trees or the ocean... anything but text.
Take a deep breath or five and remember that you know what's wrong. You just need to look at your code with someone else's eyes... even if they belong to you...