JDIDebugModel.
Clients are intended to implement this interface.
| Field Summary | |
|---|---|
| static int |
Return code indicating that this listener should not be considered in a vote to suspend a thread or install a breakpoint. |
| static int |
Return code in response to an "installing" notification, indicating a vote to not install the associated breakpoint. |
| static int |
Return code in response to a "breakpoint hit" notification, indicating a vote to not suspend (i.e. |
| static int |
Return code in response to an "installing" notification, indicating a vote to install the associated breakpoint. |
| static int |
Return code in response to a "breakpoint hit" notification, indicating a vote to suspend the associated thread. |
| Method Summary | |
|---|---|
| void |
Notification that the given breakpoint is about to be added to the specified target. |
| void |
Notification that the given breakpoint has compilation errors in its conditional expression. |
| void |
Notification that the given breakpoint had runtime errors in its conditional expression. |
| int |
Notification that the given breakpoint has been hit in the specified thread. |
| void |
Notification that the given breakpoint has been installed in the specified target. |
| void |
Notification that the given breakpoint has been removed from the specified target. |
| int |
Notification that the given breakpoint is about to be installed in the specified target, in the specified type. |
public static
int
DONT_CARE
public static
int
DONT_INSTALL
public static
int
DONT_SUSPEND
public static
int
INSTALL
public static
int
SUSPEND
public
void
breakpointHasRuntimeException
(
IJavaLineBreakpoint
breakpoint,
DebugException
exception
)
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.
public
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.