stapxx
stapxx copied to clipboard
Is there a way to compile OpenResty with debug symbols?
lj-lua-stacks.sxx
keeps saying semantic error: type definition 'lua_State' not found
, which is probably due to the lack of debug symbols
I tried compile OpenResty with --with-debug
, --with-cc-opt='-g'
but no luck. compile log says luajit is indeed compiled with CCDEBUG=-g
precompiled OpenResty-dbgsm
package works, but I need to modify some of the code, thus I have to compile it by myself
thank you
@XIAZY It is compiled with -g
by default.
No need to specify --with-debug
at all. That's for very different things.