edict_debug
Debug Edict programs by executing with call-stack tracing to identify runtime failures. Returns structured crash diagnostics including crash location and call stack for targeted fixes.
Instructions
Execute an Edict program with debug instrumentation. Compiles the AST with call-stack tracing, runs it, and returns structured crash diagnostics including call stack at crash time, crash location with nodeId, and step count. Use this instead of edict_compile + edict_run when debugging runtime failures — the crash location and call stack enable targeted fixes without guessing.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ast | Yes | The Edict program AST (module) to debug — same format as edict_compile | |
| options | No | Optional debug execution options |