Y
Hacker News
new
|
ask
|
show
|
jobs
by
anonymoushn
2071 days ago
Those are exposed via the built-in debug library, including in luajit.
2 comments
fanf2
2071 days ago
Oh whoops yes :-)
Note that you can only look up variables by their bytecode register number, not by name.
link
jashmatthews
2071 days ago
IIRC that uses the Lua C API which LuaJIT supports by fully restoring the interpreter state?
link
Note that you can only look up variables by their bytecode register number, not by name.