SimplePlayerBasedDebugEnv

Constructors

Link copied to clipboard
public void SimplePlayerBasedDebugEnv(@NotNull() @NotNull() ServerPlayer caster, @NotNull() @NotNull() CastingEnvironment env, @NotNull() @NotNull() List<Iota> iotas, @NotNull() @NotNull() Component name)

Properties

Link copied to clipboard
@NotNull()
public final @NotNull() ServerPlayer caster
Link copied to clipboard
@Nullable()
public @Nullable() DebugStepType lastDebugStepType
Link copied to clipboard
@Nullable()
public @Nullable() Action lastEvaluatedAction
Link copied to clipboard
@NotNull()
public final @NotNull() Component name
Link copied to clipboard
@NotNull()
public final @NotNull() UUID sessionId

Functions

Link copied to clipboard
@NotNull()
public @NotNull() ServerPlayer getCaster()
Link copied to clipboard
@NotNull()
public @NotNull() Component getName()
Returns a display name for this debug session.
Link copied to clipboard
@NotNull()
public @NotNull() UUID getSessionId()
Link copied to clipboard
public boolean isCasterInRange()
For in-world debugees, returns whether the caster is close enough to the debuggee to allow debug-related actions to be performed (eg.
Link copied to clipboard
@Contract(pure = true)
public boolean isDebugging()
Link copied to clipboard
public void postStep(@NotNull() @NotNull() CastingEnvironment env, @NotNull() @NotNull() CastingImage image, @Nullable() @Nullable() StopReason reason)
Do whatever you like after each debugger step.
Link copied to clipboard
public void printDebugMessage(@NotNull() @NotNull() Component message)
public void printDebugMessage(@NotNull() @NotNull() Component message, @NotNull() @NotNull() OutputCategory category)
public void printDebugMessage(@NotNull() @NotNull() Component message, @NotNull() @NotNull() OutputCategory category, boolean withSource)
Link copied to clipboard
public void printDebugMishap(@NotNull() @NotNull() CastingEnvironment env, @NotNull() @NotNull() OperatorSideEffect.DoMishap sideEffect)
Link copied to clipboard
public void restart(int threadId)
Attempts to restart the debuggee on the given debug thread.
Link copied to clipboard
public boolean resume(@NotNull() @NotNull() CastingEnvironment env, @NotNull() @NotNull() CastingImage image, @NotNull() @NotNull() ResolvedPatternType resolutionType)
Attempts to resume execution of the debuggee.
Link copied to clipboard
public void start(@Nullable() @Nullable() Integer threadId)
Link copied to clipboard
public void terminate()
Terminates the debuggee.