Added backtrace via --trace option and a lot more helpful information for debugging. (0.22.0)
This commit is contained in:
parent
9ac42c6ed1
commit
bd51aea318
8 changed files with 129 additions and 11 deletions
|
|
@ -174,6 +174,10 @@ typedef struct Bytecode {
|
|||
|
||||
Value *constants;
|
||||
int const_count;
|
||||
|
||||
/* debug metadata */
|
||||
const char *name; /* function or module name (optional) */
|
||||
const char *source_file; /* originating source filename (optional) */
|
||||
} Bytecode;
|
||||
|
||||
// constructors / manipulation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue