ITADN
ejoy/ant/Issues

无法调试lua

#198Openconstly 创建于 2024-07-30
C
constlycommented
我按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。 之前是可以调试的,不知道那次更新后就不行了。
5 条评论