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

通过ssh remote打开一个包含大量文件的工程目录,插件会coredump 是不是插件分析的文件太多,造成oom了,如果是这个原因能否限定文件分析的目录? output窗口输出了以下信息: [17929:0x5ccdd70] 77604 ms: Mark-sweep (reduce) 4074.1 (4143.0) -> 4073.7 (4143.7) MB, 8053.9 / 0.0 ms (average mu = 0.136, current mu = 0.001) allocation failure scavenge...

'UnrealEditor.exe' (Win32): Loaded 'D:\Unreal\LocalBuilds\Engine\Windows\Engine\Binaries\Win64\socket\core.dll'. The thread 0x311c has exited with code 0 (0x0). 'UnrealEditor.exe' (Win32): Unloaded 'D:\Unreal\LocalBuilds\Engine\Windows\Engine\Binaries\Win64\socket\core.dll' 'UnrealEditor.exe' (Win32): Loaded 'D:\Unreal\LocalBuilds\Engine\Windows\Engine\Binaries\Win64\socket\core.dll'. Exception thrown at 0x00000129403FE3A1 (core.dll) in UnrealEditor.exe: 0xC0000005: Access...

![image](https://github.com/Tencent/LuaPanda/assets/16960038/542e775c-5686-4bb2-a702-25629b0229af) 我看了下代码最后崩溃在luaD_hook中,这个函数的作用是在 lua_Debug 中填充调试信息,并调用调试器设置的hook函数。 看起来是因为 plibdebug 库中设置的 lua_hook 函数指针有问题,导致调用时崩溃了。 建议参照这个文档,把useCHook选项设置为false ,观察下效果看是否还会崩溃。 https://github.com/Tencent/LuaPanda/blob/e3ac3d3314f24cf939c36cac5b7dc1f2ed6ee129/Docs/Manual/launch-json-introduction.md _Originally posted by @stuartwang in https://github.com/Tencent/LuaPanda/issues/182#issuecomment-2058387498_ 您好,我把 useCHook 设为 false,还是崩溃,这是崩溃堆栈 ![20774a86a88f605556b030a6d8e3e997](https://user-images.githubusercontent.com/10419896/325842948-6b30db3b-7633-48bb-89c5-eb126691d10a.png)

**Describe the bug** 接入luapanda后,在unity编辑器中启动游戏会导致编辑器闪退 **To Reproduce** Steps to reproduce the behavior: 1. 在项目中导入luapanda。 2. unity编辑器中点击play 3. unity编辑器闪退,闪退复现率100% **Expected behavior** 能够正常游戏 **Screenshots** ![91c147a118bfeb011d2c5a347bd3d4d3](https://github.com/Tencent/LuaPanda/assets/10419896/5d9046c6-909b-460c-a317-923e8632cd06) **Desktop (please complete the following information):** - OS:...

如题: 跨文件引用调试进断点,但是无法找到源码: 最后测试的问题在 autoPathMode 如果为 true 时, 会默认去 ${workspaceFolder}/xxx.lua 寻找源码。 但其实引用的Source文件在workspace的另一个文件夹中: ![image](https://github.com/Tencent/LuaPanda/assets/14937516/eb320847-f553-4a8e-a4a1-4b0231f44612) 改为 autoPathMode 为 false 解决了,但是不知道什么原理,是不是个bug? ![image](https://github.com/Tencent/LuaPanda/assets/14937516/390f7737-54a5-40f6-ae0c-4bd72e5bf2fb)

**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...

I have to say this is by far the best lua debug adapter i've seen on github !!! It would be nice to have it working on neovim editor since...

**Describe the bug** 之前我用LuaHelper插件 + LuaPanda 3.2.0 在项目中进行调试,持续使用了1年左右,都十分正常(我在配置launch.json时 `useCHook`为`false`所以跟VSCode的升级可能没关系)。最近发现在编辑器里插入的红点断点总是不生效,参照FAQ尝试用硬断点然后执行`LuaPanda.testBreakpoint`发现输出如图所示: 并且硬断点有时会停在我们框架内扩展的可复用coroutine的逻辑附近而不是调用`LuaPanda.BP()`的位置。 之后尝试改用最新的LuaPanda插件 + LuaPanda3.3.1,但是红点断点仍然不生效,但在不生效位置加硬断点之后,`LuaPanda.testBreakpoint`输出变成下图的样子: **Desktop (please complete the following information):** - OS: macOS - VSCode v1.89.1 - LuaPanda Version 3.2.0 and...

![image](https://github.com/user-attachments/assets/845ab418-cf93-42cf-9a28-30a4105b2831)