1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

add a way to trigger something with debugger

This commit is contained in:
deoxxa
2015-12-03 15:37:01 +11:00
parent 8aa4915210
commit 7f15b1724e
4 changed files with 18 additions and 4 deletions

View File

@@ -54,6 +54,7 @@ type _runtime struct {
scope *_scope
otto *Otto
eval *_object // The builtin eval, for determine indirect versus direct invocation
debugger func(*Otto)
labels []string // FIXME
lck sync.Mutex