mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 00:10:27 +00:00
d37c43716a
doc macro can take no arguments and print out all bindings. Fix an issues with the vm skipping over a breakpoint in some situations. Add examples/debugger.janet for proof of concept debugger.
9 lines
128 B
Plaintext
9 lines
128 B
Plaintext
# Load this file and run (myfn) to see the debugger
|
|
|
|
(defn myfn
|
|
[]
|
|
(debug)
|
|
(for i 0 10 (print i)))
|
|
|
|
(debug/fbreak myfn 3)
|