| java.lang.Object java.util.EventObject org.netbeans.api.debugger.jpda.event.JPDABreakpointEvent
JPDABreakpointEvent | final public class JPDABreakpointEvent extends EventObject (Code) | | JPDABreakpoint event notification.
author: Jan Jancura |
Constructor Summary | |
public | JPDABreakpointEvent(JPDABreakpoint sourceBreakpoint, JPDADebugger debugger, int conditionResult, JPDAThread thread, ReferenceType referenceType, Variable variable) Creates a new instance of JPDABreakpointEvent. | public | JPDABreakpointEvent(JPDABreakpoint sourceBreakpoint, JPDADebugger debugger, Throwable conditionException, JPDAThread thread, ReferenceType referenceType, Variable variable) Creates a new instance of JPDABreakpointEvent. |
CONDITION_FAILED | final public static int CONDITION_FAILED(Code) | | Condition result constant.
|
CONDITION_FALSE | final public static int CONDITION_FALSE(Code) | | Condition result constant.
|
CONDITION_NONE | final public static int CONDITION_NONE(Code) | | Condition result constant.
|
CONDITION_TRUE | final public static int CONDITION_TRUE(Code) | | Condition result constant.
|
JPDABreakpointEvent | public JPDABreakpointEvent(JPDABreakpoint sourceBreakpoint, JPDADebugger debugger, int conditionResult, JPDAThread thread, ReferenceType referenceType, Variable variable)(Code) | | Creates a new instance of JPDABreakpointEvent. This method should be
called from debuggerjpda module only. Do not create a new instances
of this class!
Parameters: sourceBreakpoint - a breakpoint Parameters: debugger - a debugger this Parameters: conditionResult - a result of condition Parameters: thread - a context thread Parameters: referenceType - a context class Parameters: variable - a context variable |
JPDABreakpointEvent | public JPDABreakpointEvent(JPDABreakpoint sourceBreakpoint, JPDADebugger debugger, Throwable conditionException, JPDAThread thread, ReferenceType referenceType, Variable variable)(Code) | | Creates a new instance of JPDABreakpointEvent.
Parameters: sourceBreakpoint - a breakpoint Parameters: conditionException - result of condition Parameters: thread - a context thread Parameters: debugger - a debugger this Parameters: referenceType - a context class Parameters: variable - a context variable |
getConditionException | public Throwable getConditionException()(Code) | | Returns result of condition evaluation.
result of condition evaluation |
getConditionResult | public int getConditionResult()(Code) | | Returns result of condition evaluation.
result of condition evaluation |
getDebugger | public JPDADebugger getDebugger()(Code) | | Returns JPDADebugger instance this breakpoint has been reached in.
JPDADebugger instance this breakpoint has been reached in |
getReferenceType | public ReferenceType getReferenceType()(Code) | | Returns context class. It means loaded class for class load breakpoint
and exception class for exception breakpoint.
context class |
getResume | public boolean getResume()(Code) | | Returns resume value.
|
getThread | public JPDAThread getThread()(Code) | | Returns context thread - thread stopped on breakpoint. This parameter
is defined by class prepared breakpoint, exception breakpoint,
field breakpoint, line breakpoint, method breakpoint and
thread breakpoint.
thread context |
getVariable | public Variable getVariable()(Code) | | Returns context variable. It contains new value for field modification
breakpoint and instance of exception for exception breakpoint.
context variable |
resume | public void resume()(Code) | | Call this method to resume debugger after all events will be notified.
You should not call JPDADebugger.resume () during breakpoint event
evaluation!
|
|
|