comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: gdb question, was Re: Ada vs. C++
Date: 2000/02/16
Date: 2000-02-16T17:38:42+00:00	[thread overview]
Message-ID: <un1p1m4pi.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: PI1q4.4873$yt2.142554@nnrp3-w.snfc21.pbi.net

tmoran@bix.com writes:

>   I recently needed, for the first time, to use gdb.  It seemed
> non-obvious and extremely klutzy.  Is that just my unfamiliarity,
> or does that match others' observation?

I use gdb under Emacs on Win32, and I love it. I've also used the
Borland IDE debugger on Win32, the ObjectAda IDE debugger on Win32,
and the DEC VMS debugger. Of these, only the DEC debugger comes close
to gdb.

Any new interface feels klutzy at first, until you learn how to do
basic things. When you get past that, you begin to see the true power
of the tool.

For example, using the Borland debugger, you can't examine local
variables in functions on the current call stack; you can only examine
the variables in the current function. gdb can examine all variables
on the call stack.

I have not played with the various GUI interfaces to gdb, because
Emacs already does everything I might need from a GUI.

>   Of course the fact I've been able to live without that kind
> of debugger for so long reinforces the observation that a "debugger"
> of that kind is less vital with Ada than with other languages.

I tend to jump right into gdb to find a bug, because it is so easy and
so powerful. Then I go back and fix my unit test to show the bug,
then I fix the bug. I guess we just have different styles!

-- Stephe




  parent reply	other threads:[~2000-02-16  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-11  0:00 Ada vs. C++ G
2000-02-11  0:00 ` Preben Randhol
2000-02-11  0:00 ` Tarjei T. Jensen
2000-02-11  0:00   ` Gary
2000-02-14  0:00     ` Tarjei T. Jensen
2000-02-11  0:00   ` Florian Weimer
2000-02-14  0:00     ` Gisle S�lensminde
2000-02-11  0:00   ` Preben Randhol
2000-02-11  0:00 ` Gautier
2000-02-11  0:00   ` Bobby D. Bryant
2000-02-14  0:00     ` Larry Kilgallen
2000-02-11  0:00 ` Ted Dennison
2000-02-14  0:00 ` Vincent DIEMUNSCH
2000-02-14  0:00   ` Gautier
2000-02-15  0:00   ` Richard D Riehle
2000-02-15  0:00     ` gdb question, was " tmoran
2000-02-15  0:00       ` Ehud Lamm
2000-02-15  0:00       ` Ted Dennison
2000-02-16  0:00       ` Stephen Leake [this message]
2000-02-16  0:00       ` Robert A Duff
2000-03-07  0:00         ` Mike Dimmick
2000-03-07  0:00           ` Jeff Creem
2000-02-15  0:00 ` Marin D. Condic
2000-03-04  0:00   ` Robert I. Eachus
2000-03-04  0:00     ` Tarjei Tj�stheim Jensen
2000-03-04  0:00     ` Marin D. Condic
replies disabled

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