“When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.”

Remember this quote whenever you are debugging software.