Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Re: More on debuggers

Reply
Thread Tools

Re: More on debuggers

 
 
BartC
Guest
Posts: n/a
 
      12-01-2010


"Richard" <rgrdev_@gmail.com> wrote in message
news:id3ll8$c7a$...
>
> Despite the luminaries here telling us that debuggers are useless and
> that its twice as hard to debug a program as is it is write code
> properly the first time, I thought some of you might enjoy this
>
> http://video.google.com/videoplay?do...0229726822034#
>
> This Stanford lecturer agrees with me : debuggers help you track state
> and force test conditions in a controlled manner. Obviously he's not as
> smart as the people here who claim they prefer to read a print out .....


Debuggers are not really my thing (I see debugging as more of a sport), but
just two minutes of that guy with the funny hat has put me off for life.

--
bartc



 
Reply With Quote
 
 
 
 
Malcolm McLean
Guest
Posts: n/a
 
      12-12-2010
On Dec 1, 4:43*pm, Richard <rgrd...@gmail.com> wrote:
> "BartC" <b...@freeuk.com> writes:
>
> > Debuggers are not really my thing (I see debugging as more of a sport), but
> > just two minutes of that guy with the funny hat has put me off for
> > life.

>
> So you're not a programmer? You dont maintain code? That or you dont
> know what a debugger is and what it can do.
>

I don't use debuggers either. I find I can always track down bugs with
diagnostic printfs.

The reason I don't use a debuggers is that I'm constantly switching
between systems. The debugger becomes a very intimate part of the way
you work, and then when suddenly deprived of it it's bit like
switching from a car with a steering wheel and gearbox to one with a
tiller and a double declutch - effectively you've got to relearn to
drive.

 
Reply With Quote
 
 
 
 
BartC
Guest
Posts: n/a
 
      12-12-2010
"Malcolm McLean" <> wrote in message
news:fab1ee36-d6d5-4bf7-a668-...
> On Dec 1, 4:43 pm, Richard <rgrd...@gmail.com> wrote:
>> "BartC" <b...@freeuk.com> writes:
>>
>> > Debuggers are not really my thing (I see debugging as more of a sport),
>> > but
>> > just two minutes of that guy with the funny hat has put me off for
>> > life.

>>
>> So you're not a programmer? You dont maintain code? That or you dont
>> know what a debugger is and what it can do.
>>

> I don't use debuggers either. I find I can always track down bugs with
> diagnostic printfs.
>
> The reason I don't use a debuggers is that I'm constantly switching
> between systems. The debugger becomes a very intimate part of the way
> you work, and then when suddenly deprived of it it's bit like
> switching from a car with a steering wheel and gearbox to one with a
> tiller and a double declutch - effectively you've got to relearn to
> drive.


I knew someone who had a plane, a couple of boats, and several cars, with a
combination of LHD/RHD, manual and automatic, and had one home where they
drove on the left, and another where they drove on the right.

He never had the slightest trouble adapting.

--
Bartc

 
Reply With Quote
 
Ike Naar
Guest
Posts: n/a
 
      12-12-2010
On 2010-12-12, BartC <> wrote:
> I knew someone who had a plane, a couple of boats, and several cars, with a
> combination of LHD/RHD, manual and automatic, and had one home where they
> drove on the left, and another where they drove on the right.
>
> He never had the slightest trouble adapting.


Did he use a debugger?
 
Reply With Quote
 
Chris H
Guest
Posts: n/a
 
      12-12-2010
In message <fab1ee36-d6d5-4bf7-a668-
s.com>, Malcolm McLean <> writes
>On Dec 1, 4:43*pm, Richard <rgrd...@gmail.com> wrote:
>> "BartC" <b...@freeuk.com> writes:
>>
>> > Debuggers are not really my thing (I see debugging as more of a sport), but
>> > just two minutes of that guy with the funny hat has put me off for
>> > life.

>>
>> So you're not a programmer? You dont maintain code? That or you dont
>> know what a debugger is and what it can do.
>>

>I don't use debuggers either. I find I can always track down bugs with
>diagnostic printfs.


There speaks an amateur

>The reason I don't use a debuggers is that I'm constantly switching
>between systems.


So?

>The debugger becomes a very intimate part of the way
>you work, and then when suddenly deprived of it it's bit like
>switching from a car with a steering wheel and gearbox to one with a
>tiller and a double declutch - effectively you've got to relearn to
>drive.


Yes.
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



 
Reply With Quote
 
BartC
Guest
Posts: n/a
 
      12-12-2010
"Ike Naar" <> wrote in message
news:...
> On 2010-12-12, BartC <> wrote:
>> I knew someone who had a plane, a couple of boats, and several cars, with
>> a
>> combination of LHD/RHD, manual and automatic, and had one home where they
>> drove on the left, and another where they drove on the right.
>>
>> He never had the slightest trouble adapting.

>
> Did he use a debugger?


No.


 
Reply With Quote
 
Nick Keighley
Guest
Posts: n/a
 
      12-12-2010
On Dec 12, 12:34*pm, Malcolm McLean <malcolm.mcle...@btinternet.com>
wrote:
> On Dec 1, 4:43*pm, Richard <rgrd...@gmail.com> wrote:> "BartC" <b...@freeuk.com> writes:
>
> > > Debuggers are not really my thing (I see debugging as more of a sport), but
> > > just two minutes of that guy with the funny hat has put me off for
> > > life.

>
> > So you're not a programmer? You dont maintain code? That or you dont
> > know what a debugger is and what it can do.

>
> I don't use debuggers either. I find I can always track down bugs with
> diagnostic printfs.
>
> The reason I don't use a debuggers is that I'm constantly switching
> between systems. The debugger becomes a very intimate part of the way
> you work, and then when suddenly deprived of it it's bit like
> switching from a car with a steering wheel and gearbox to one with a
> tiller and a double declutch - effectively you've got to relearn to
> drive.


I've switched between gdb (both gui and cli) and ms studio without
much difficulty.
 
Reply With Quote
 
James Dow Allen
Guest
Posts: n/a
 
      12-12-2010
Couldn't we all just agree that debuggers are sometimes the
best debugging tool, sometimes inappropriate, and the boundary
between the two cases varies due to various factors, including a
particular programmer's skill set?

I seldom use debuggers, but definitely set a lot of breakpoints
with them when I was understanding and busting copy-protect
schemes for money^H^H^H^H^H as an avocation.

On Dec 12, 8:05*pm, "BartC" <b...@freeuk.com> wrote:
> I knew someone who ... had one home where they
> drove on the left, and another where they drove on the right.


My big problem driving in London for the first time was
that I always hold my cigarette in right hand, but ashtray
was on the left.

I quit smoking.

James Dow Allen
 
Reply With Quote
 
Nick Keighley
Guest
Posts: n/a
 
      12-12-2010
On Dec 12, 1:26*pm, Chris H <ch...@phaedsys.org> wrote:
> In message <fab1ee36-d6d5-4bf7-a668-816e34e3e...@j29g2000yqm.googlegroup
> s.com>, Malcolm McLean <malcolm.mcle...@btinternet.com> writes
>
> >On Dec 1, 4:43 pm, Richard <rgrd...@gmail.com> wrote:
> >> "BartC" <b...@freeuk.com> writes:

>
> >> > Debuggers are not really my thing (I see debugging as more of a sport), but
> >> > just two minutes of that guy with the funny hat has put me off for
> >> > life.

>
> >> So you're not a programmer? You dont maintain code? That or you dont
> >> know what a debugger is and what it can do.

>
> >I don't use debuggers either. I find I can always track down bugs with
> >diagnostic printfs.

>
> There speaks an amateur


struct Whatsit
{
int k;
};

struct SubT
{
Whatsit w;
};

struct Thing
{
SubT p1;
SubT p2;
};

....

Thing t[100];
t[0] = initial;

for (i = 1; i < 100; i++)
{
t[i] = f (t[i - 1]);
}

I believe something is going wrong and I'd like to see all the k
values. This seems to mean a certain amount buggering about in the
debugger. Whilst a one line printf() seems easy...

> >The reason I don't use a debuggers is that I'm constantly switching
> >between systems.

>
> So?
>
> >The debugger becomes a very intimate part of the way
> >you work, and then when suddenly deprived of it it's bit like
> >switching from a car with a steering wheel and gearbox to one with a
> >tiller and a double declutch - effectively you've got to relearn to
> >drive.

>
> Yes.

 
Reply With Quote
 
Malcolm McLean
Guest
Posts: n/a
 
      12-13-2010
On Dec 12, 3:26*pm, Chris H <ch...@phaedsys.org> wrote:
> In message <fab1ee36-d6d5-4bf7-a668-816e34e3e...@j29g2000yqm.googlegroup
>
> >I don't use debuggers either. I find I can always track down bugs with
> >diagnostic printfs.

>
> There speaks an amateur
>

No, a professional programmer who has often worked on systems where no
debugger is available.

I've never had a case of a known bug which couldn't be tracked down by
diagnostic alterations to the source code, but which was solved by use
of a debugger. I've had the reverse.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: More on debuggers Lew Pitcher C Programming 27 01-07-2011 10:56 PM
Re: More on debuggers Lew Pitcher C Programming 8 12-01-2010 03:49 PM
Re: More on debuggers Chris H C Programming 4 12-01-2010 02:59 PM
Re: More on debuggers Magno C Programming 3 12-01-2010 08:02 AM
JDWP/JPDA - Often VM stops listening for debuggers connnection Marco Lorenzini Java 0 05-13-2004 04:03 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57