From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4fdb48d8039f6c98 X-Google-Attributes: gid103376,public From: Gautier.DeMontmollin@maths.unine.ch (Gautier) Subject: Re: Debugging Generics with GNAT 3.07 Date: 1997/04/21 Message-ID: <1997Apr21.103348.5916@news>#1/1 X-Deja-AN: 236301680 References: Organization: University of Neuchatel, Switzerland Reply-To: Gautier.deMontmollin@Maths.UniNe.CH Newsgroups: comp.lang.ada Date: 1997-04-21T00:00:00+00:00 List-Id: dewar@merv.cs.nyu.edu (Robert Dewar) writes: > Rich asks > > < 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.