How do *you* debug device drivers?
Doug Gwyn <gwyn>
gwyn at brl-tgr.ARPA
Thu Jan 3 02:14:13 AEST 1985
> Well, the ideal way is not to write any bugs.
>
> Of course, we sometimes tend to fall short of the ideal. I like to see
> where the machine crashed or what the erroneous behaviour was, think a
> while, and come up with something that explains the problem exactly,
> without "explaining" things that didn't happen. Then it's time to look
> at the code and see whether that explanation is correct.
Right on! If you cannot legitimately EXPECT your code to work right
the first time, then you do not have it under control. Better to think
it out then do it right, rather than to tediously hack away hoping to
get that "last known bug" out eventually..
More information about the Comp.unix.wizards
mailing list