[RFA] Add NormalBreakpoint
Keith Seitz
keiths@redhat.com
Thu Jun 14 02:36:00 GMT 2007
Tom Tromey wrote:
>>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:
>
> Keith> public class Breakpoint
> Keith> {
> Keith> + // Type of this breakpoint
> Keith> + protected int type;
>
> What is this field intended for?
> Right now it is only set to NormalBreakpoint.TYPE.
Right, the other new breakpoint type, ExecuteMethodBreakpoint will also
set this. interpret-run.cc will then use Breakpoint.type() to figure out
how to handle the breakpoint. Call me old fashioned, but I really
dislike using instanceof. O:-)
Keith
More information about the Java-patches
mailing list