From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2cdc6c2ee911fe77 X-Google-Attributes: gid103376,public From: "Mike Dimmick" Subject: Re: gdb question, was Re: Ada vs. C++ Date: 2000/03/07 Message-ID: <952459362.11185.1.nnrp-12.d4e5bde1@news.demon.co.uk>#1/1 X-Deja-AN: 594392231 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: dimmick.demon.co.uk:212.229.189.225 References: <88a775$gsq$1@nntp9.atl.mindspring.net> X-Priority: 3 Content-Type: text/plain; charset="Windows-1252" X-Mimeole: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 952459362 nnrp-12:11185 NO-IDENT dimmick.demon.co.uk:212.229.189.225 X-MSMail-Priority: Normal MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-03-07T00:00:00+00:00 List-Id: "Robert A Duff" 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