public final class JPDABreakpointEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CONDITION_FAILED
Condition result constant.
|
static int |
CONDITION_FALSE
Condition result constant.
|
static int |
CONDITION_NONE
Condition result constant.
|
static int |
CONDITION_TRUE
Condition result constant.
|
source
Constructor and Description |
---|
JPDABreakpointEvent(JPDABreakpoint sourceBreakpoint,
JPDADebugger debugger,
int conditionResult,
JPDAThread thread,
com.sun.jdi.ReferenceType referenceType,
Variable variable)
Creates a new instance of JPDABreakpointEvent.
|
JPDABreakpointEvent(JPDABreakpoint sourceBreakpoint,
JPDADebugger debugger,
Throwable conditionException,
JPDAThread thread,
com.sun.jdi.ReferenceType referenceType,
Variable variable)
Creates a new instance of JPDABreakpointEvent.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getConditionException()
Returns result of condition evaluation.
|
int |
getConditionResult()
Returns result of condition evaluation.
|
JPDADebugger |
getDebugger()
Returns JPDADebugger instance this breakpoint has been reached in.
|
com.sun.jdi.ReferenceType |
getReferenceType()
Returns context class.
|
boolean |
getResume()
Returns resume value.
|
JPDAThread |
getThread()
Returns context thread - thread stopped on breakpoint.
|
Variable |
getVariable()
Returns context variable.
|
void |
resume()
Call this method to resume debugger after all events will be notified.
|
getSource, toString
public static final int CONDITION_NONE
public static final int CONDITION_TRUE
public static final int CONDITION_FALSE
public static final int CONDITION_FAILED
public JPDABreakpointEvent(JPDABreakpoint sourceBreakpoint, JPDADebugger debugger, int conditionResult, JPDAThread thread, com.sun.jdi.ReferenceType referenceType, Variable variable)
sourceBreakpoint
- a breakpointdebugger
- a debugger thisconditionResult
- a result of conditionthread
- a context threadreferenceType
- a context classvariable
- a context variablepublic JPDABreakpointEvent(JPDABreakpoint sourceBreakpoint, JPDADebugger debugger, Throwable conditionException, JPDAThread thread, com.sun.jdi.ReferenceType referenceType, Variable variable)
sourceBreakpoint
- a breakpointconditionException
- result of conditionthread
- a context threaddebugger
- a debugger thisreferenceType
- a context classvariable
- a context variablepublic int getConditionResult()
public Throwable getConditionException()
public JPDAThread getThread()
public com.sun.jdi.ReferenceType getReferenceType()
public JPDADebugger getDebugger()
public Variable getVariable()
public void resume()
public boolean getResume()