comp.lang.ada
 help / color / mirror / Atom feed
From: Steve Quinlan <steven.quinlan@lmco.com>
Subject: Re: exception
Date: 1998/11/03
Date: 1998-11-03T00:00:00+00:00	[thread overview]
Message-ID: <363F5BD6.1A58@lmco.com> (raw)
In-Reply-To: 363992D5.643F343E@biha01.ehu.es

Pablo Campo wrote:
> 
> I am a programmer of ADA and I use the Alsys Active ADA envirotment
> version 5.3
> 
> I am making a proyect full of tasking and interrupts (for example I
> manage the clock interrupt) and my problem is that  my program breaks
> down in execution time and the only information  I recive is "Program
> terminated. Unhandled exception".
> Yesterday, I spent all the morning handling exceptions in all tasks and
> subprograms but the result was the same.
> �What can I do for obtain more information of the problem?
> 
> Nacho - A spanish enginier student.
I don't understand how people can use some of these implementations
which make it so hard to figure out where an exception came from unless
you are in a debugger. OCS and Aonix for example dump out the exception
and a traceback in human readable format (unit/line #) to stdout if a
program dies with an unhandled exception. That symbol table is a small
price to pay for the ability to do problem determination.  

Best I can suggest is: Does that environment come with a debugger that
you can run the application under? If you've got hanlders in all the
tasks and it's still dying, maybe it's happening at elaboration outside
the scope of the task body handlers. You'd need a debugger that is
capable of breaking on exceptions during elaboration.




  parent reply	other threads:[~1998-11-03  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-30  0:00 exception Pablo Campo
1998-10-30  0:00 ` exception Corey Ashford
1998-10-31  0:00 ` exception Jerry van Dijk
1998-11-03  0:00 ` Steve Quinlan [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-11-18  0:00 exception alex
2005-09-08 16:54 Exception TC
2005-09-08 17:06 ` Exception Pascal Obry
2005-09-08 17:20 ` Exception Martin Krischik
2005-09-08 18:21 ` Exception Georg Bauhaus
replies disabled

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