Comments (8)
@FlyingStarlight
看到现象了,之前不方便构造你的场景。你加下QQ群:747590892
from luahelper.
from luahelper.
并不行,改成
C:\\lua53.exe
也并没有正确调用路径,还是以Lua Helper默认路径执行
@yinfei8
from luahelper.
@FlyingStarlight
你C盘下面有lua53.exe吗?
from luahelper.
@FlyingStarlight
麻烦下载最新的版本0.2.3兼容了/ 路径
from luahelper.
@FlyingStarlight 你C盘下面有lua53.exe吗?
不是有没有lua53.exe的问题
是在终端(PS/CMD)执行的指令就没有根据luaPath产生变化
新版本仍然无效,执行的命令仍为:
c:/Users/EXAMPLE USER/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/luasocket/win/x64/lua5.4/lua54.exe -e "package.path = 'c:/Users/EXAMPLE USER/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/?.lua;'.. package.path; package.cpath = 'c:/Users/"EXAMPLE USER"/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/luasocket/win/x64/lua5.4/?.dll;'.. package.cpath; require('LuaPanda').start('127.0.0.1',8818);" "e:/MY/Lua/Test/test.lua"
期待结果为:
c:/lua53.exe -e "package.path = 'c:/Users/EXAMPLE USER/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/?.lua;'.. package.path; package.cpath = 'c:/Users/"EXAMPLE USER"/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/luasocket/win/x64/lua5.4/?.dll;'.. package.cpath; require('LuaPanda').start('127.0.0.1',8818);" "e:/MY/Lua/Test/test.lua"
from luahelper.
我看到插件源码怎么写了,自动判断了路径内找不到getLuaBinVersion
就用默认
测试实际放一个lua53.exe在对应路径没问题
那看看怎么解决USER 1
不能识别的问题吧,用新版插件仍存在这个问题
from luahelper.
windows上 getLuaBinVersion 可以通过执行lua -e "print(_VERSION)" 来获取版本号,直接执行lua -v会获取不到输出,其他操作系统没有试过
from luahelper.
Related Issues (20)
- bad argument #8 to 'sync_breakpoints' (string expected, got nil) HOT 1
- Debug配置cwd不起作用
- Configure or Change Autocomplete/Intellisense Behavior
- vscode升级1.82.2后luahelper lua调试功能无法使用 HOT 1
- 语法高亮相关优化
- 一直弹窗“调试器没有找到文件=?.lua”
- debug attach一直显示 Could not load source '=?'
- 用不了了。。。如图,启动就报错 HOT 3
- 链式调用时,函数提示有问题
- Bootstrap file at start
- 出现报错无法使用 HOT 1
- 返回泛型数组是否不支持 HOT 1
- import文件跳转 HOT 3
- luahelper 作为一个 批量处理 lua 代码的 cli 应用程序 HOT 2
- 能否支持自定义的require关键字 HOT 1
- Additional folders
- 无法加载源""
- debug时如何方便的调整lua版本
- 可以支持Lua5.1、LuaJIT中的module的跳转吗? HOT 2
- how to debug a program and supply arguments ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luahelper.