From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <599f06db05080907484ac90467@mail.gmail.com> Date: Tue, 9 Aug 2005 09:48:24 -0500 From: Gorka guardiola To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>, Harri Haataja Subject: Re: [9fans] debugging p9p threads question In-Reply-To: <20050806234844.GC2988@harriha-dsl.oulu.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050803072008.GG9518@server4.lensbuddy.com> <20050806234844.GC2988@harriha-dsl.oulu.fi> Cc: Topicbox-Message-UUID: 755203a2-ead0-11e9-9d60-3106f5b1d025 On 8/6/05, Harri Haataja wrote: >=20 > If you need to debug a programme that simple, what it's > telling you is that you've written it the wrong way! >=20 This is not completely realistic. There are sometimes interactions with libraries, compilers... Simple programs have to be debug on occasions. I adhere with t= he print+thought, more than with the allways rewrite (though on some occassions that is the way...). I also love dumping the stack with acid now and then. It is invaluable for finding faster deadlocks or lost pointers.=20 --=20 - curiosity sKilled the cat