Skip to content

Asset Escrow breaks the debug library #1309

Open
@rdelian

Description

@rdelian

Info

As the title says, Asset Escrow brakes the debug library, I personally use it to automate a few tasks

Repro

--file path is : ./repro_escrowdebug/server.lua
function Loko()
    local call_data = debug.getinfo(2,'S')

    print(json.encode(call_data))
end
Loko()

Output

Expected

{
    "source": "@@repro_escrowdebug/server.lua",
    "short_src": "@repro_escrowdebug/server.lua",
    "linedefined": 0, "lastlinedefined": 0, "what": "main"
}

Encrypted

{
    "source": "=?",
    "short_src": "?", 
    "linedefined": 0, "lastlinedefined": 0, "what": "main"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    ScRT: LuaIssues/PRs related to the Lua scripting runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions