comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: [Gnat] Finding exceptions without gdb
Date: 1996/11/06
Date: 1996-11-06T00:00:00+00:00	[thread overview]
Message-ID: <32809DEF.665E@gsfc.nasa.gov> (raw)
In-Reply-To: collins-0411960934280001@ratbert.cs.wm.edu


Bob Collins wrote:
> 
> Is there any way to find out where (in source) exceptions
> are raised without using gdb? (And without Put-ting the
> information in excception handlers.)

Ooops, sorry for my last post. It's early, and I read the request as
"how do I find exceptions USING gdb", but the question is "WITHOUT using
gdb". Sigh.

The only way I know to identify the point an exception is raised is to
se gdb to catch it. An approximate location can be found by putting
exception handlers in EVERY block, and putting a message to a screen, or
passing a string in a re-raised exception. You have ruled out both
options.

Why have you ruled these out?
-- 
- Stephe




  parent reply	other threads:[~1996-11-06  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-04  0:00 [Gnat] Finding exceptions without gdb Bob Collins
1996-11-05  0:00 ` Robert Dewar
1996-11-06  0:00 ` Stephen Leake [this message]
1996-11-06  0:00 ` Stephen Leake
1996-11-07  0:00   ` Kevin Rigotti DRA
replies disabled

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