Enum StepMode
- java.lang.Object
-
- java.lang.Enum<StepMode>
-
- com.tonic.analysis.execution.debug.StepMode
-
- All Implemented Interfaces:
Serializable,Comparable<StepMode>
public enum StepMode extends Enum<StepMode>
How far the debugger runs before pausing again.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RUNRun freely; only a breakpoint or an explicit pause request stops execution.RUN_TO_CURSORRun until the current method reaches a caller-supplied offset; both the offset and the method signature must match before pausing.STEP_INTOPause after every instruction, including the first instruction of any method that gets called.STEP_OUTRun until the call stack becomes shallower than it was when the step began, that is, until the current frame returns.STEP_OVERExecute one instruction of the current frame, running any call it makes to completion rather than pausing inside the callee.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StepModevalueOf(String name)Returns the enum constant of this type with the specified name.static StepMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUN
public static final StepMode RUN
Run freely; only a breakpoint or an explicit pause request stops execution.
-
STEP_INTO
public static final StepMode STEP_INTO
Pause after every instruction, including the first instruction of any method that gets called.
-
STEP_OVER
public static final StepMode STEP_OVER
Execute one instruction of the current frame, running any call it makes to completion rather than pausing inside the callee.
-
STEP_OUT
public static final StepMode STEP_OUT
Run until the call stack becomes shallower than it was when the step began, that is, until the current frame returns.
-
RUN_TO_CURSOR
public static final StepMode RUN_TO_CURSOR
Run until the current method reaches a caller-supplied offset; both the offset and the method signature must match before pausing.
-
-
Method Detail
-
values
public static StepMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StepMode c : StepMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StepMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-