Sat, 28 Jul 2007

Debugging Hell

I had intended to post HappyPlusClock 0.81 by now, with a date display, but I found a problem. The analog clock now crashes on my Plus. Not on my iMac, not on my SE/30, not on vMac emulating a Plus.

Grrr.

What's worse, MacsBug doesn't act correctly on my Plus, either -- it just locks up the system.

Update: Turns out it's a NIL handle bug, caused when I removed a now-unused debugging component. A bit of global data belonging to that component was no longer being initialized, and I ended up passing that to QuickDraw, which proceeded to go nuts. QuickDraw on later systems is much more tolerant to bad data. In this case, it hid a bug for a week.

HappyPlusClock 0.81 forthcoming!

posted at: 22:44 | path: /geek/hpc | permanent link to this entry