An important thing to keep in mind when debugging is that computers are at their core deterministic entities. They don't do things unless instructions are loaded into the CPU. This should give you hope, since the bug you seek is always findable.
You know that with enough time and effort you'll squash that bug. That thought alone can be a powerful motivating force.