scalus.uplc.DebugScript
See theDebugScript companion object
A debug-compiled Plutus script for diagnostic replay.
When a release script (compiled without error traces) fails during evaluation with empty logs, the evaluator can use a DebugScript to replay the failing evaluation with traces enabled, producing diagnostic logs.
DebugScript wraps either:
- A pre-compiled debug PlutusScript (for external builders like meshJS that have CBOR)
- A lazy computation from CompiledPlutus (deferred SIR recompilation until failure)
Value parameters
- compute
-
lazy computation that produces the debug PlutusScript
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article