mirror of
https://github.com/janet-lang/janet
synced 2026-11-15 01:14:27 +00:00
Lots of work on improving debugging.
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.
This commit is contained in:
1 parent
8372d1e499
commit
d37c43716a
7 files changed
+306
-115
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# Load this file and run (myfn) to see the debugger
|
||||
|
||||
(defn myfn
|
||||
[]
|
||||
(debug)
|
||||
(for i 0 10 (print i)))
|
||||
|
||||
(debug/fbreak myfn 3)
|
||||
Reference in new issue
Block a user