comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Postmortem debugging with ada ?
Date: 01 May 2001 13:03:14 -0400
Date: 2001-05-01T17:18:32+00:00	[thread overview]
Message-ID: <ubspdgfxp.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3AE7EF84.9157A90C@icn.siemens.de

Alfred Hilscher <Alfred.Hilscher@icn.siemens.de> writes:

> Hi,
> 
> in my early DOS days I worked with the Logitech Modula-2 compiler. This
> tool had a nice feature called postmortem debugging. If a programm
> crashes (e.g. due to rangeoverflow, indexunderflow etc.) it produced a
> dump file which could be analyzed symbolically. So if a program (with
> enabled checkes) failed by some user, he could send this dump file to
> the developer and this one then could simple find the location and the
> reason by inspecting the call chain and the data. 
> 
> Is there a similar way with GNAT or Aonix (e.g. in case of
> constraint_error) ?

Others have mentioned using gdb with core dumps. 

Another approach is to output a symbolic stack trace. GNAT provides
the package GNAT.Traceback.Symbolic. This allows your users to not
have gdb installed; a good feature.

-- 
-- Stephe



      parent reply	other threads:[~2001-05-01 17:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-26  9:51 Postmortem debugging with ada ? Alfred Hilscher
2001-04-26 10:54 ` Jacob Sparre Andersen
2001-04-26 11:50   ` Des Walker
2001-04-26 12:44     ` Marc A. Criley
2001-04-26 12:45     ` Alfred Hilscher
2001-05-01 17:03 ` Stephen Leake [this message]
replies disabled

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