Bug Hunting

When you’ve been chasing a multi-threaded software / hardware interaction bug for three straight weeks (the sort of bug which is triggered perhaps only once every 3 days, which you’ve instrumented with asserts and port pin toggling so you can see what’s going on with an oscilloscope since your JTAG debugging tools are rather poor, and which you’ve eventually gotten to be reproducible within 30 seconds by rigging up a FET and signal generator to create the proper noise conditions) and you’ve finally convinced yourself that you understand exactly why the problem is happening (your theory explains all of the weird behaviors you’ve seen over the last three weeks, after all), and you implement a solution and it seems to solve the observed issue only to uncover another even less explainable issue… well, let’s just say you’d probably be ready for the weekend too.

3 Comments

  1. Posted October 27, 2007 at 3:47 pm | Permalink | Reply

    Reminds me of http://davyd.livejournal.com/175168.html

  2. Posted October 27, 2007 at 9:41 pm | Permalink | Reply

    That’s when I wonder whether I really want to be a software developer.

  3. Posted October 27, 2007 at 9:46 pm | Permalink | Reply

    indeed, which is part of the reason that my free software work has been suffering for the last few weeks.