Skip to content

Is there a way to compile OpenResty with debug symbols? #40

@XIAZY

Description

@XIAZY

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions