added debugger mode

This commit is contained in:
cozis
2021-11-02 06:43:24 +00:00
parent a1f2db9aa9
commit 6be81ffa36
6 changed files with 167 additions and 8 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ Snapshot *Snapshot_New(Runtime *runtime);
void Snapshot_Free(Snapshot *snapshot);
void Snapshot_Print(Snapshot *snapshot, FILE *fp);
Object *run(Runtime *runtime, Error *error, Executable *exe, int index, Object **argv, int argc);
Object *run(Runtime *runtime, Error *error, Executable *exe, int index, Object **argv, int argc, void *userp, _Bool (*callback)(Runtime*, void*));
Object *Object_FromNojaFunction(Runtime *runtime, Executable *exe, int offset, Heap *heap, Error *error);
#endif