|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Provides event and error notification for Java breakpoints.
Listeners register with the JDIDebugModel.
Clients are intended to implement this interface.
| Method Summary | |
void |
addingBreakpoint(IJavaDebugTarget target,
IJavaBreakpoint breakpoint)
Notification that the given breakpoint is about to be added to the specified target. |
void |
breakpointHasCompilationErrors(IJavaLineBreakpoint breakpoint,
Message[] errors)
Notification that the given breakpoint has compilation errors in its conditional expression. |
void |
breakpointHasRuntimeException(IJavaLineBreakpoint breakpoint,
DebugException exception)
Notification that the given breakpoint had runtime errors in its conditional expression. |
boolean |
breakpointHit(IJavaThread thread,
IJavaBreakpoint breakpoint)
Notification that the given breakpoint has been hit in the specified thread - returns whether the thread should suspend. |
void |
breakpointInstalled(IJavaDebugTarget target,
IJavaBreakpoint breakpoint)
Notification that the given breakpoint has been installed in the specified target. |
void |
breakpointRemoved(IJavaDebugTarget target,
IJavaBreakpoint breakpoint)
Notification that the given breakpoint has been removed from the specified target. |
boolean |
installingBreakpoint(IJavaDebugTarget target,
IJavaBreakpoint breakpoint,
IJavaType type)
Notification that the given breakpoint is about to be installed in the specified target, in the specified type. |
| Method Detail |
public void addingBreakpoint(IJavaDebugTarget target,
IJavaBreakpoint breakpoint)
target - Java debug targetbreakpoint - Java breakpoint
public boolean installingBreakpoint(IJavaDebugTarget target,
IJavaBreakpoint breakpoint,
IJavaType type)
false the breakpoint is not installed in the given
target for the given type.
target - Java debug targetbreakpoint - Java breakpointtype - the type (class or interface) the breakpoint is about to be installed in
or null if the given breakpoint is not installed in a specific type
(one of IJavaClassType, IJavaInterfaceType, or
IJavaArrayType)
public void breakpointInstalled(IJavaDebugTarget target,
IJavaBreakpoint breakpoint)
target - Java debug targetbreakpoint - Java breakpoint
public boolean breakpointHit(IJavaThread thread,
IJavaBreakpoint breakpoint)
true,
the breakpoint will cause the thread to suspend.
thread - Java threadbreakpoint - Java breakpoint
public void breakpointRemoved(IJavaDebugTarget target,
IJavaBreakpoint breakpoint)
target - Java debug targetbreakpoint - Java breakpoint
public void breakpointHasRuntimeException(IJavaLineBreakpoint breakpoint,
DebugException exception)
breakpoint - the breakpoint
public void breakpointHasCompilationErrors(IJavaLineBreakpoint breakpoint,
Message[] errors)
breakpoint - the breakpointerrors - the compilation errors in the breakpoint's condition
|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||