From: "Mike Dimmick" <mike@dimmick.demon.co.uk>
Subject: Re: gdb question, was Re: Ada vs. C++
Date: 2000/03/07
Date: 2000-03-07T00:00:00+00:00 [thread overview]
Message-ID: <952459362.11185.1.nnrp-12.d4e5bde1@news.demon.co.uk> (raw)
In-Reply-To: wcchff97z2w.fsf@world.std.com
"Robert A Duff" <bobduff@world.std.com> wrote in message
news:wcchff97z2w.fsf@world.std.com...
> 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 don't much like gdb, either. But in general, I don't like to spend
a
> lot of time in debuggers anyway -- better to try to understand the
> code.
>
> When I do use gdb, I use it under Emacs, which makes it much more
> pleasant (eg automatically shows the part of the program you're in).
My own experience with gdb, under linux, was very nasty -- though it may
have been the version of gdb (4.17.0.11): it insisted on listing the C
files that GNAT generated rather than my source files! All I wanted to
find out was where I was getting an exception raised.
I ended up recompiling the program (which was minimal anyway) under
Windows and using GDB/TK to find the source line. This release actually
told me under the backtrace where the error was occurring.
Not a friendly tool.
By contrast, MS Visual C++ has a great debugger -- but you do tend to do
quite a bit more work in it than with GNAT, I'll grant you.
--
Mike Dimmick
next prev parent reply other threads:[~2000-03-07 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 ` Florian Weimer
2000-02-14 0:00 ` Gisle S�lensminde
2000-02-11 0:00 ` Preben Randhol
2000-02-11 0:00 ` Gary
2000-02-14 0:00 ` Tarjei T. Jensen
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 ` Robert A Duff
2000-03-07 0:00 ` Mike Dimmick [this message]
2000-03-07 0:00 ` Jeff Creem
2000-02-16 0:00 ` Stephen Leake
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