Those Argh! Moments

time to read 2 min | 300 words

Any developer knows about them, don’t they? That moment when you are this close to finding that army grade HD wiper and removing all traces of the code from your computer. I just had such a moment, I’m tracking a bug for two days, totally convinced that it’s NHibernate’s fault for not considering this scenario, when I decide that I’d enough, and that I’m going to fix this bug myself. So I go into the code, and I see that NHibernate is getting garbage. So, according to the ancient rule of GIGO, it promptly threw it back at me.

The problem is that until I started debugging I just couldn’t see it, the logs showed perfectly fine output, as did the manual tests that I did. I’m pretty sure that I know what I did wrong there (didn’t run the whole thing for the test, but then I shouldn’t have to) .

Anyway, you can guess how I’m feeling right now toward computers… J