IntersectMBO / plutus

The Plutus language implementation and tools
Apache License 2.0
1.57k stars 479 forks source link

Better debugging/trace story for on-chain code #3164

Open t1lde opened 3 years ago

t1lde commented 3 years ago

Currently, debugging Validator code running on-chain is painful since there is no equivalent of Show which compiles to plutus core.

For me, the debugging story has been:

In #3142, @ak3n mentioned Data may be a builtin in future, which might enable some better options.

Meanwhile: what are our best options for debugging on-chain code currently? Would it be viable (if a bit painful) to use the CEK machine API?

effectfully commented 1 year ago

@bezirg are you the best person to answer this question:

Meanwhile: what are our best options for debugging on-chain code currently? Would it be viable (if a bit painful) to use the CEK machine API?

? This issue is old, but that doesn't make the question any less important.

effectfully commented 1 year ago

... meanwhile, we do now have a debugger and working on a better debugging experience is one of our objective and is something that we already do, hence I'm marking this issue with status: objective.