comp.lang.ada
 help / color / mirror / Atom feed
From: Wesley Groleau <wesgroleau@despammed.com>
Subject: Re: Debugger Rant (was Re: How to debug an Ada program)
Date: Fri, 11 Jul 2003 14:36:28 -0500
Date: 2003-07-11T14:36:28-05:00	[thread overview]
Message-ID: <goucnfzVH-ghjJKiXTWJkQ@gbronline.com> (raw)
In-Reply-To: <254c16a.0307110505.463b1cc0@posting.google.com>

Marc A. Criley wrote:
> Based on my experience helping other developers debug their code, I've
> found a disconcertedly common trend when it comes to using debuggers. 
> Very few know how to use one effectively--and this goes not just for
> Ada programmers, but programmers in general.  The most common
> perception of a debugger I've seen held by programmers is that it's
> for single-stepping through code and setting breakpoints; and for the
> advanced user, examining variables.  On several occasions when
> assisting other developers I've opened up the raw memory display
> window, or even (gasp!) the register or disassembly windows, and the
> look on the programmer's face is utter incomprehension (which may also

Well, I could say all of the same things, BUT I can also say
there have been numerous occasions where a description of
the symptoms and a glance at the source code have enabled me
to identify the problem.  There are just so many more things
that can go wrong in a C program that won't happen in Ada.

And there have been more than a few occasions where invoking
the debugger makes the problem go away!

And there have been occasions where the debugger added a problem
or deceived us by not telling the truth about the value of an entity,
or getting the address wrong on an interactive assignment.

> Considering a debugger to be superfluous to Ada programming deprives
> one of a very powerful tool.  Unless all you're ever going to do is

True.




  parent reply	other threads:[~2003-07-11 19:36 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-09  4:42 How to debug an Ada program mauricio
2003-07-09  7:30 ` Preben Randhol
2003-07-09 16:07 ` Pascal Obry
2003-07-09 17:16   ` Cephus�
2003-07-09 21:28     ` Robert I. Eachus
2003-07-10  3:37       ` Cephus�
2003-07-10  5:05         ` Robert I. Eachus
2003-07-10  7:25   ` Preben Randhol
2003-07-10 22:49     ` mauricio
2003-07-15  1:20     ` Richard Riehle
2003-07-15  4:22       ` James Rogers
2003-07-15 12:09       ` Marin David Condic
2003-07-11 13:05   ` Debugger Rant (was Re: How to debug an Ada program) Marc A. Criley
2003-07-11 13:26     ` Preben Randhol
2003-07-11 14:36       ` Dmitry A. Kazakov
2003-07-11 15:13     ` Jerry Petrey
2003-07-11 18:42       ` Robert I. Eachus
2003-07-12  2:26         ` Alexander Kopilovitch
2003-07-15 23:33           ` Robert I. Eachus
2003-07-11 19:36     ` Wesley Groleau [this message]
2003-07-11 20:33       ` Preben Randhol
2003-07-11 21:26         ` Wesley Groleau
2003-07-12  7:07     ` Brian Catlin
2003-07-15 23:34       ` Robert I. Eachus
2003-07-16 19:24         ` Debugger Rant Marc A. Criley
2003-07-17  2:21           ` Alexander Kopilovitch
2003-07-18 19:52             ` Robert I. Eachus
2003-07-19  9:51               ` Pascal Obry
2003-07-17 16:33           ` Wesley Groleau
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox