Explain your bug out loud (well, in text). The duck listens. You'll solve it yourself.
Describe your bug. The duck is listening.
Just explaining it out loud (even to a duck) usually reveals the answer.