Expand description
Structured execution tracing for the Compact runtime IR interpreter.
Designed to be zero-cost when disabled (TraceLevel::Off): every hook in
the interpreter checks state.trace.is_some() before constructing any
event. When enabled (Calls or Full), captures the exact sequence of
circuit frames, witness invocations, ledger ADT operations, emitted events,
cross-contract hops, and assertion failures — including partial traces
leading up to a revert.
Structs§
- Execution
Trace - Ordered sequence of
TraceEvents recorded during a single circuit or call-tree execution.
Enums§
- Trace
Event - One structured event emitted by the runtime IR interpreter during circuit execution.
- Trace
Level - Verbosity level controlling which interpreter events are recorded.
Functions§
- format_
value_ compact - Format a
RuntimeValueconcisely for trace display (truncating long byte arrays and deeply nested containers).