Some bugs lasts longer than others, some is hard to identify and yet others is just a pain in the ass. At one point you will be driven near madness, so that you do silly things because you think you are out of options. Admitted I have a bug (possible several bugs) which have been haunting me for too long. The amount of debug output has reached a point where it only confuses more that it helps. I have been thinking about using a multilevel logging system, but have so far rejected it. But now that I am near-crazy I consider it more that ever. It will definitly provide me with fine-graned information when I need it. I usualy just do a regexp search in the debug output. Howto tell if one has gone crazy?