01.06.2022, 12:46
Hello,
i tried to use the Debug Library of lua which should be available in the standard lib.
But it seems the library is not available because I get nil.
I tried to use a fresh compiled version of luajit and there the C API is available, but I canĀ“t use the precompiled lua modules anymore.
How can I use the debug library together with the precompiled modules like socket and apps ?
Thanks in advance!
i tried to use the Debug Library of lua which should be available in the standard lib.
But it seems the library is not available because I get nil.
Code:
LuaJIT 2.0.5 -- Copyright (C) 2005-2021 Mike Pall. https://luajit.org/
JIT: ON ARMv7 VFPv3 fold cse dce fwd dse narrow loop abc sink fuse
> print(debug)
nil
Code:
LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2022 Mike Pall. https://luajit.org/
JIT: ON ARMv7 VFPv3 fold cse dce fwd dse narrow loop abc sink fuse
> print(debug)
table: 0xb6f241b0
Thanks in advance!