The most effective debugging tool is still careful thought, coupled with
judiciously placed print statements.
-- Brian W. Kernighan, in the paper Unix for Beginners (1979)
On Tue, Aug 02, 2005 at 05:00:18PM -0600, Ronald G. Minnich wrote:
>
>
> On Tue, 2 Aug 2005, Russ Cox wrote:
>
> > Print statements.
>
> interesting, that's the answer in the supercomputing world too.
>
> Geez, why are we spending all this money on debuggers :-)
>
> on the 65K CPU blue gene box, I've been told that "debugging with over 512
> CPUs is ... printf".
>
>
> > Your call to threadexitsall(0) at the end of
> > threadmain is wrong. It should be threadexits().
>
> Thanks. I did a stupid thing, changing the exits(0) from the plan 9
> version to this threadexitsall(0)! oops.
>
> ron