Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Latest commit

 

History

History
5 lines (3 loc) · 516 Bytes

Tracing.md

File metadata and controls

5 lines (3 loc) · 516 Bytes

Tracing

You can use the functions ptrace, ptraceError, ptraceIfFalse, ptraceIfTrue (from Plutarch.Trace or Plutarch.Prelude) for tracing. These behave similarly to the ones you're used to from PlutusTx.

If you have the development flag for plutarch turned on - you'll see the trace messages appear in the trace log during script evaluation. When not in development mode - these functions basically do nothing.