stapxx icon indicating copy to clipboard operation
stapxx copied to clipboard

Is there a way to compile OpenResty with debug symbols?

Open XIAZY opened this issue 6 years ago • 2 comments

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 avatar Aug 13 '18 08:08 XIAZY

@XIAZY It is compiled with -g by default.

agentzh avatar Oct 07 '18 04:10 agentzh

No need to specify --with-debug at all. That's for very different things.

agentzh avatar Oct 07 '18 04:10 agentzh