public static final class SmartSteppingCallback.StopOrStep extends Object
SmartSteppingCallback.stopAt(org.netbeans.spi.debugger.ContextProvider, org.netbeans.api.debugger.jpda.CallStackFrame, org.netbeans.api.debugger.jpda.SmartSteppingFilter)
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getStepDepth()
Get the step depth.
|
int |
getStepSize()
Get the step size.
|
int |
hashCode() |
boolean |
isStop()
Whether this is a possibility to stop.
|
static SmartSteppingCallback.StopOrStep |
skip()
Express the necessity to skip the given location,
using whatever the default debugger action is at the moment.
|
static SmartSteppingCallback.StopOrStep |
step(int stepSize,
int stepDepth)
Express the necessity to perform a step at the given location.
|
static SmartSteppingCallback.StopOrStep |
stop()
Express the possibility to stop.
|
String |
toString() |
public static SmartSteppingCallback.StopOrStep stop()
public static SmartSteppingCallback.StopOrStep skip()
public static SmartSteppingCallback.StopOrStep step(int stepSize, int stepDepth)
stepSize
- the step size,
one of JPDAStep.STEP_LINE
or JPDAStep.STEP_MIN
,
or 0
for the default size.stepDepth
- the step depth,
one of JPDAStep.STEP_INTO
, JPDAStep.STEP_OVER
,
JPDAStep.STEP_OUT
, or 0
for the default depth.IllegalArgumentException
when the size or depth is wrong.public boolean isStop()
true
if it's possible to stop, false
otherwise.public int getStepSize()
JPDAStep.STEP_LINE
or JPDAStep.STEP_MIN
,
or 0
for the default size.public int getStepDepth()
JPDAStep.STEP_INTO
, JPDAStep.STEP_OVER
,
JPDAStep.STEP_OUT
, or 0
for the default depth.