Enum DebugState.Status
- java.lang.Object
-
- java.lang.Enum<DebugState.Status>
-
- com.tonic.analysis.execution.debug.DebugState.Status
-
- All Implemented Interfaces:
Serializable,Comparable<DebugState.Status>
- Enclosing class:
- DebugState
public static enum DebugState.Status extends Enum<DebugState.Status>
Lifecycle state of the interpreted run.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDFinished because the run was cut short from outside rather than reaching its end.COMPLETEDFinished normally.EXCEPTIONFinished because an exception escaped unhandled.IDLENothing has started yet; the default state of a fresh builder.PAUSEDSuspended and waiting for a resume, typically at a breakpoint.RUNNINGExecuting freely, not stopped at any breakpoint.STEPPINGAdvancing one instruction or line at a time under debugger control; counts as running.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DebugState.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static DebugState.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final DebugState.Status IDLE
Nothing has started yet; the default state of a fresh builder.
-
RUNNING
public static final DebugState.Status RUNNING
Executing freely, not stopped at any breakpoint.
-
PAUSED
public static final DebugState.Status PAUSED
Suspended and waiting for a resume, typically at a breakpoint.
-
STEPPING
public static final DebugState.Status STEPPING
Advancing one instruction or line at a time under debugger control; counts as running.
-
COMPLETED
public static final DebugState.Status COMPLETED
Finished normally.
-
EXCEPTION
public static final DebugState.Status EXCEPTION
Finished because an exception escaped unhandled.
-
ABORTED
public static final DebugState.Status ABORTED
Finished because the run was cut short from outside rather than reaching its end.
-
-
Method Detail
-
values
public static DebugState.Status[] 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 (DebugState.Status c : DebugState.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DebugState.Status 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
-
-