BaseCircleDebugEnv

@ApiStatus.NonExtendable()
public abstract class BaseCircleDebugEnv extends DebugEnvironment(source)

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
@Nullable()
public @Nullable() CastingImage newImage
Link copied to clipboard
@NotNull()
public final @NotNull() UUID sessionId

Functions

Link copied to clipboard
@NotNull()
public @NotNull() ServerPlayer getCaster()
Link copied to clipboard
@Contract(pure = true)
@NotNull()
public abstract @NotNull() Component getName()
Returns a display name for this debug session.
Link copied to clipboard
@Nullable()
public @Nullable() CastingImage getNewImage()
Link copied to clipboard
@NotNull()
public @NotNull() UUID getSessionId()
Link copied to clipboard
@Contract(pure = true)
public abstract 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 abstract void restart(int threadId)
Attempts to restart the debuggee on the given debug thread.
Link copied to clipboard
public abstract 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 setNewImage(@Nullable() @Nullable() CastingImage newImage)
Link copied to clipboard
public abstract void terminate()
Terminates the debuggee.