-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调试器没有找到文件 lua.lua 。 请检查launch.json文件中lua后缀是否配置正确, 以及VSCode打开的工程是否正确 #150
Comments
“调试器没有找到文件 lua.lua 。 请检查launch.json文件中lua后缀是否配置正确, 以及VSCode打开的工程是否正确”,然后在打断点的地方不会停住 |
我也遇到了同样的问题,后来发觉是LuaConst.cs文件下面的openLuaDebugger = false没有打开,把这个变量设为true就行了,但是我在我另一台电脑上这样操作以后又出现了新的问题,调试的时候提示无法加载源len.lua,并会报一个“Lua文件名不匹配Lua/libpdebug.lua"的错 |
我找到了这个问题的bug修复,一般情况下是你的luaFileExtention配置没有带上文件的分隔符,导致 function this.changePotToSep(filePath, ext)
local idx = filePath:find(ext, (-1) * ext:len() , true)
if idx then
local tmp = filePath:sub(1, idx - 1):gsub("%.", "/");
filePath = tmp .. ext;
end
return filePath;
end 这个方法解析出来的路径是类似于 |
lixiandea
pushed a commit
to lixiandea/LuaPanda
that referenced
this issue
Mar 11, 2024
lixiandea
pushed a commit
to lixiandea/LuaPanda
that referenced
this issue
Mar 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: