comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier.DeMontmollin@maths.unine.ch (Gautier)
Subject: Re: Debugging Generics with GNAT 3.07
Date: 1997/04/21
Date: 1997-04-21T00:00:00+00:00	[thread overview]
Message-ID: <1997Apr21.103348.5916@news> (raw)
In-Reply-To: dewar.861329319@merv


dewar@merv.cs.nyu.edu (Robert Dewar) writes:
> Rich asks
> 
> <<I have a generic package called queuel.  It lives in a set
> of files called queuel.ads and queuel.adb.  There is a
> "public" function in this package called clearqueue().
> When I am at a GDB prompt, and I type in break queuel.clearqueue,
> it behaves as though I have asked it to set a breakpiont on
> a function that does not exist.  I know the issue is not
> packages because if I use the same syntax with the name of a function
> in a non-generic package, it works fine.>>
> 
> You can't set a breakpoint in the template! It is just that a template,
> not code. You can set a breakpoint in a particular instance though, and
> you can step into generic instances (at least it certainly works for me!)

N.B.:
In the DOS version (EZ2LOAD), the post-mortem debugging (AD) finds and
shows the lines of the generic code when the instanciation is made
as a separate package.

G.





      reply	other threads:[~1997-04-21  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-16  0:00 Debugging Generics with GNAT 3.07 Rich Maggio
1997-04-17  0:00 ` Robert Dewar
1997-04-21  0:00   ` Gautier [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