Re: Eclipse subclass breakpoint
- From: "Robert Klemme" <bob.news@xxxxxxx>
- Date: Thu, 12 Jan 2006 22:16:58 +0100
Optional <google@xxxxxxxxxxxxxxxxx> wrote:
Anybody know how to set a breakpoint on a method in a superclass and have break only in a specific subclass invocation?
class A { void aMethod(){ < setbreakpoint w/ condition X }
class B extends A{ }
class C extends A{ } ....
B b = new B(); b.aMethod(); < break
C c = new C(); c.aMethod(); < no break
You can try to use a condition on getClass() == your.sub.Class
robert
.
- References:
- Eclipse subclass breakpoint
- From: Optional
- Eclipse subclass breakpoint
- Prev by Date: Eclipse subclass breakpoint
- Next by Date: Re: UML Tools unable to map Java Objects Association/Dependency:
- Previous by thread: Eclipse subclass breakpoint
- Index(es):