From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: GDB and exceptions
Date: 1999/04/14
Date: 1999-04-14T00:00:00+00:00 [thread overview]
Message-ID: <u1zhnxb7n.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 7evl9g$1l1$1@nnrp1.dejanews.com
dennison@telepath.com writes:
> In article <dbHQ2.754$36.263875@WReNphoon2>,
> jboulais@sikorsky.com (Boulais, Jeffrey M) wrote:
> > I'm trying to set a breakpoint on exceptions. Whenever I try, I get a
> > 'Couldn't open "a-except.adb": no such file or directory' message. Does
> > anyone have a suggestion?
>
> You mean when the exception occurs you get that? I get something very much
> like that. But its no big deal, since I don't *want* to debug that file. I
> can pretty much assume the Ada runtime is working correctly.
>
> In the nice TK version of GDB, just select "Stacks" from the "Window" menu and
> click on the lowest numbered level that contains your code. That should place
> you on the line where the exception was raised.
And in the even nicer command line gdb under emacs (no bias here :),
just type "up" to go up one stack level, or "where" to see the full
list, then "frame n" to get to your code.
-- Stephe
next prev parent reply other threads:[~1999-04-14 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-13 0:00 GDB and exceptions Boulais, Jeffrey M
1999-04-13 0:00 ` dennison
1999-04-14 0:00 ` Stephen Leake [this message]
1999-04-15 0:00 ` Boulais, Jeffrey M
1999-04-15 0:00 ` David C. Hoos, Sr.
1999-04-16 0:00 ` Stephen Leake
1999-04-13 0:00 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox