1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 09:47:17 +00:00

Fix debugger regression.

This commit is contained in:
Calvin Rose 2020-05-02 23:40:00 -05:00
parent 8b5bcaee3c
commit 5d1fd390a6

View File

@ -2375,9 +2375,9 @@
(def frame (.frame n))
(def func (frame :function))
(def dasm (disasm-alias func))
(def bytecode (disasm-alias 'bytecode))
(def bytecode (in dasm 'bytecode))
(def pc (frame :pc))
(def sourcemap (disasm-alias 'sourcemap))
(def sourcemap (in dasm 'sourcemap))
(var last-loc [-2 -2])
(print "\n signal: " (.signal))
(print " function: " (dasm 'name) " [" (in dasm 'source "") "]")