Elide GraalVM25.6.0-elide.4
All types
Versions and modules

PrintInstructionTracer.Builder

Javaclassin com.oracle.truffle.api.bytecode.debugsince 25.1

public static final class PrintInstructionTracer.Builder
Inheritance
  1. Object
  2. Builder
Enclosing type
PrintInstructionTracer

Builder for PrintInstructionTracer instances.

Call filter(Predicate) to restrict tracing to selected BytecodeNodes, then build() to create the tracer.

Methods2

PrintInstructionTracer.Builder filter(Predicate<BytecodeNode>)

filter

since 25.1
public PrintInstructionTracer.Builder filter(Predicate<BytecodeNode> filterClause)

Sets an optional filter that decides which BytecodeNodes should be traced.

If the predicate returns false for a given node, instructions executed in that node are not printed.

Parameters

filterClausePredicate<BytecodeNode>
predicate that returns true if tracing should be enabled for the given node
PrintInstructionTracer build()

build

since 25.1
public PrintInstructionTracer build()

Creates a new PrintInstructionTracer instance using the configured output sink and optional filter.

Returns

Inherited members