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
@@ -30,7 +30,7 @@ static Object *call(Object *self, Object **argv, unsigned int argc, Heap *heap,
assert(func->exe != NULL);
assert(func->index >= 0);
return run(func->runtime, error, func->exe, func->index, argv, argc);
return run(func->runtime, error, func->exe, func->index, argv, argc, NULL, NULL);
}
Object *Object_FromNojaFunction(Runtime *runtime, Executable *exe, int index, Heap *heap, Error *error)