LuaPanda icon indicating copy to clipboard operation
LuaPanda copied to clipboard

lua debug and code tools for VS Code

Results 61 LuaPanda issues
Sort by recently updated
recently updated
newest added

UnLua插件有可选命名空间选项, 开启之后lua写法为UE4.AActor:K2_GetActorLocation() 这个UE4前缀建议可以是在LuaPanda界面主动编辑, 方便给slua/UnLua之外的Lua插件使用

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...

[Log.txt](https://github.com/Tencent/LuaPanda/files/5465669/Log.txt) 阅读过luapanda的接入文档,没有找到解决方案,期待码兄答复.

3.1.0版本中 通过启动端口 远程调试时出现了F10逐步调试过程中直接跳出了函数的问题 环境是: ubuntu20.04 lts 内核5.4.0-44-generic vscode1.48.1 libpdebug是自行在ubuntu下进行编译的so(不知道这是否有影响)

引擎:UE4 插件:slua unreal 如题,VSCode下调试lua只会从UE4 dofile进来的初始化流程能断点,之后的断点都断不上。 [luapanda_log.txt](https://github.com/Tencent/LuaPanda/files/4557144/luapanda_log.txt)

环境:mac os 10.15 调试器版本: 3.1.0 最近有同学反馈cocos2dx下可以调试,但无法attach连接。我们测试了一下,发现在attach时LuaPanda.lua 文件 reConnect() 函数中 ``` local sockSuccess, status = sock:connect(connectHost, connectPort); ``` 一直是连接失败,提示是参数错误。 ![image](https://user-images.githubusercontent.com/16960038/74598682-b9ce6980-50b0-11ea-8ea3-77803c5a8a83.png) 但事实上传入的参数是正确的,不知道是否和cocos2dx以及其中集成的luasocket有关,如果有了解的同学欢迎讨论。 --- 具体的复现方法是: 1. 打开日志 LuaPanda.lua 文件头部, consoleLogLevel = 2 修改为...

cocos2dx

OS: Win10 64 LuaPanda: 3.1.0 VSCode: 1.45.1 目录地址没有中文 ![image](https://user-images.githubusercontent.com/8079529/83237899-3270b600-a1c8-11ea-80b5-63656bd6dd7b.png) 三个非Lua的文件 ![image](https://user-images.githubusercontent.com/8079529/83238152-9a270100-a1c8-11ea-84cf-d1ae3bcbb413.png)

自定义的module没有命令提示,自动完成等功能 **To Reproduce** Steps to reproduce the behavior: 1. Unity2019,VS Code1.45.0 2. lua文件放在Assets/StreamingAsset/LuaScripts目录下 3. 文件夹已添加到vs code 工作区 4. 可以正常调试进断点 5. 自动不全,代码格式化功能不正常 **Expected behavior** 希望能正常提示代码补全,代码格式化功能正常 **Screenshots** ![image](https://user-images.githubusercontent.com/776037/82108430-f0278d80-9760-11ea-830a-864f69b80ff5.png) ![image](https://user-images.githubusercontent.com/776037/82108472-2f55de80-9761-11ea-99ac-11f52ed8e518.png) **Desktop (please complete...

用load和pcall来创建沙箱环境调用一段lua代码,在该段代码中断点时,调试时WATCH的环境仍然是全局环境,而不是沙箱环境,无法读到沙箱内部的变量

**环境** windows 10 64 vscode 1.36.1 标准lua5.3.4 **重现** local t = {x = "on gc"} setmetatable(t,{__gc = function (o) print(o.x)--此处打断点 end}) t = nil collectgarbage() 可以预见,会输出 on gc,而事实也是如此。但是,这个断点却不会触发。