|
Eclipse JDT Release 3.0 |
||||||||||
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.
Field Summary | |
static int |
DONT_CARE
Return code indicating that this listener should not be considered in a vote to suspend a thread or install a breakpoint. |
static int |
DONT_INSTALL
Return code in response to an "installing" notification, indicating a vote to not install the associated breakpoint. |
static int |
DONT_SUSPEND
Return code in response to a "breakpoint hit" notification, indicating a vote to not suspend (i.e. resume) the associated thread. |
static int |
INSTALL
Return code in response to an "installing" notification, indicating a vote to install the associated breakpoint. |
static int |
SUSPEND
Return code in response to a "breakpoint hit" notification, indicating a vote to suspend the associated thread. |
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,
org.eclipse.debug.core.DebugException exception)
Notification that the given breakpoint had runtime errors in its conditional expression. |
int |
breakpointHit(IJavaThread thread,
IJavaBreakpoint breakpoint)
Notification that the given breakpoint has been hit in the specified thread. |
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. |
int |
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. |
Field Detail |
public static final int SUSPEND
public static final int DONT_SUSPEND
public static final int INSTALL
public static final int DONT_INSTALL
public static final int DONT_CARE
Method Detail |
public void addingBreakpoint(IJavaDebugTarget target, IJavaBreakpoint breakpoint)
target
- Java debug targetbreakpoint
- Java breakpointpublic int installingBreakpoint(IJavaDebugTarget target, IJavaBreakpoint breakpoint, IJavaType type)
INSTALL
, the breakpoint will be installed. If there
are no votes to install the breakpoint, there must be at least one
DONT_INSTALL
vote to cancel the installation. If all
listeners vote DONT_CARE
, the breakpoint will be installed
by default.
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
)
INSTALL
,
DONT_INSTALL
, or DONT_CARE
public void breakpointInstalled(IJavaDebugTarget target, IJavaBreakpoint breakpoint)
target
- Java debug targetbreakpoint
- Java breakpointpublic int breakpointHit(IJavaThread thread, IJavaBreakpoint breakpoint)
SUSPEND
, the thread will suspend. If there
are no votes to suspend the thread, there must be at least one
DONT_SUSPEND
vote to avoid the suspension (resume). If all
listeners vote DONT_CARE
, the thread will suspend by default.
thread
- Java threadbreakpoint
- Java breakpoint
SUSPEND
,
DONT_SUSPEND
, or DONT_CARE
public void breakpointRemoved(IJavaDebugTarget target, IJavaBreakpoint breakpoint)
target
- Java debug targetbreakpoint
- Java breakpointpublic void breakpointHasRuntimeException(IJavaLineBreakpoint breakpoint, org.eclipse.debug.core.DebugException exception)
breakpoint
- the breakpointexception
- the debug exception that occurred evaluating the breakpoint's
conditionpublic void breakpointHasCompilationErrors(IJavaLineBreakpoint breakpoint, Message[] errors)
breakpoint
- the breakpointerrors
- the compilation errors in the breakpoint's condition
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |