comp.lang.ada
 help / color / mirror / Atom feed
From: stachour@umn-cs.CS.UMN.EDU (Paul Stachour)
Subject: Re: User requirements on generics
Date: 17 Dec 88 17:06:01 GMT	[thread overview]
Message-ID: <10479@umn-cs.CS.UMN.EDU> (raw)
In-Reply-To: 8812161453.AA02985@aries

In article <8812161453.AA02985@aries> emery@ARIES.MITRE.ORG (David Emery) writes:
>  ... 
>Note that code sharing can affect the debugger's ability to do this.
>If code sharing for STACK_PACKAGE is true, then the debugger may not be
>able to support setting a breakpoint inside a specific instance.  

Dave, I don't see why this must be true.   From the debuggers's viewpoint,
one sets a breakpoint in the shared-code for the generic.  When the 
breakpoint is hit, the debugger checks the context of the breakpoint
with respect to who did the calling from what line, etc., and thus can
determine from the symbol-table info which instance of the generic that
it is actually in.  The breakpoint is "taken" if that is the instance
in which the breakpoint was set, otherwise the breakpoint is "ignored".
  ...Paul

  reply	other threads:[~1988-12-17 17:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-12-16 14:53 User requirements on generics David Emery
1988-12-17 17:06 ` Paul Stachour [this message]
1988-12-17 22:58   ` Greg Eisenhauer
replies disabled

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