Uses of Class
cs1302.tracer.trace.OutputSlice
Packages that use OutputSlice
-
Uses of OutputSlice in cs1302.tracer.execution
Methods in cs1302.tracer.execution with parameters of type OutputSliceModifier and TypeMethodDescriptionvoidTraceSession.finishOutput(OutputSlice stdout, OutputSlice stderr) Refreshes final output on the last complete snapshot using explicit slices. -
Uses of OutputSlice in cs1302.tracer.trace
Methods in cs1302.tracer.trace that return OutputSliceModifier and TypeMethodDescriptionstatic OutputSliceOutputSlice.empty()Returns an empty output slice.static OutputSliceOutputSlice.from(byte[] bytes) Wraps an entire byte array as an OutputSlice.static OutputSliceOutputSlice.from(byte[] bytes, int offset, int length) Creates an OutputSlice representing a subrange of a byte array.static OutputSliceOutputSlice.from(StreamDrainer drainer, int offset, int length) Creates an OutputSlice backed by an active StreamDrainer sink.OutputSlice.materialize()Materializes this slice into a self-contained slice detached from any drainer.static OutputSliceDebugTraceHelper.sanitizeDebuggeeStderrSlice(OutputSlice rawStderr) Sanitizes captured standard error bytes in an OutputSlice by removing JVM diagnostic banner prefixes without allocating unnecessary intermediate byte arrays.StreamDrainer.snapshotOutput()Returns an OutputSlice referencing the current accumulated bytes in this drainer.ExecutionSnapshot.stderrSlice()Returns the value of thestderrSlicerecord component.ExecutionSnapshot.stdoutSlice()Returns the value of thestdoutSlicerecord component.OutputSlice.subSlice(int relativeOffset) Creates a new sub-slice starting at the specified relative offset.OutputSlice.subSlice(int relativeOffset, int subLength) Creates a new sub-slice with relative offset and length.Methods in cs1302.tracer.trace with parameters of type OutputSliceModifier and TypeMethodDescriptionbooleanOutputSlice.contentEquals(OutputSlice other) Compares the byte contents of this slice with another slice without allocating byte arrays.static OutputSliceDebugTraceHelper.sanitizeDebuggeeStderrSlice(OutputSlice rawStderr) Sanitizes captured standard error bytes in an OutputSlice by removing JVM diagnostic banner prefixes without allocating unnecessary intermediate byte arrays.ExecutionSnapshot.withOutput(OutputSlice stdout, OutputSlice stderr) Copies this snapshot with updated output, preserving all execution metadata.Constructors in cs1302.tracer.trace with parameters of type OutputSliceModifierConstructorDescriptionExecutionSnapshot(List<ExecutionSnapshot.StackSnapshot> stack, List<ExecutionSnapshot.Field> statics, Map<Long, TraceValue> heap, OutputSlice stdoutSlice, OutputSlice stderrSlice, Optional<String> sourcePath, String stdinConsumed, int stdinOffset) Constructs a legacy snapshot without thread metadata.ExecutionSnapshot(List<ExecutionSnapshot.StackSnapshot> stack, List<ExecutionSnapshot.Field> statics, Map<Long, TraceValue> heap, OutputSlice stdoutSlice, OutputSlice stderrSlice, Optional<String> sourcePath, String stdinConsumed, int stdinOffset, List<ExecutionSnapshot.ThreadSnapshot> threads, Long triggeringThreadId, String event) Compact constructor normalizing null slices, optionals, and strings.