8000 无法调试lua · Issue #198 · ejoy/ant · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
无法调试lua #198
Open
Open
@constly

Description

@constly

我按readme中的说明,把launch.json中的配置为:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lua",
            "request": "launch",
            "name": "Debug",
            "luaexe": "${workspaceFolder}/bin/msvc/debug/ant.exe",
            "luaVersion": "lua-latest",
            "path": null,
            "cpath": null,
            "console": "integratedTerminal",
            "stopOnEntry": true,
            "outputCapture": [],
            "program": "test/simple/main.lua",
            "arg": []
        }
    ]
}

在vscode中以调试方式启动时没反应,输出为:

PS F:\ant\ant>  f:; cd 'f:\ant\ant'; & 'F:/ant/ant/bin/msvc/debug/ant.exe' '-e' 'dofile[[c:/Users/Administrator/.vscode/extensions/actboy168.lua-debug-2.0.10-win32-x64/script/launch.lua]];DBG[[17344/lua-latest]]' 'test/simple/main.lua' 
PS F:\ant\ant> 

看起来没启动成功,程序直接退出了。我打开任务管理器,可以看到有lua-debug.exe。
之前是可以调试的,不知道那次更新后就不行了。

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

      0