Re: [dwm] debugger poll

From: Ross Mohn <rpmohn_AT_waxandwane.org>
Date: Wed, 11 Jun 2008 13:44:16 -0400

On Wed, Jun 11, 2008 at 09:59:34AM -0700, Charlie Kester wrote:
> * Ross Mohn <rpmohn_AT_waxandwane.org> [2008-06-11 09:14:05 -0400]:
>
>> 1. What debugger do you use for C programming?
>>
>> 2. What debugger do you use for Curses C programming?
>>
>> Thanks! -RPM
>
> One of the benefits of a small, suckless program is that you can
> keep all of its code in your head. Debugging is then also something
> you can do in your head.
>
> Observe the program behavior and you just know what lines it's
> executing when the problem occurs.
>
> This "debugging by thinking" doesn't cover all the cases, of course,
> but it does succeed surprisingly often.

Yes, this is primarily what I do, besides fprintf(stderr, "...");

Cheers! -RPM
Received on Wed Jun 11 2008 - 19:44:54 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:48:33 UTC