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

**Describe the bug** 调试器没有找到文件 chunk.lua.txt 。 请检查launch.json文件中lua后缀是否配置正确, 以及VSCode打开的工程是否正确 影响单步调试. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4....

看了一下源码,只处理了coroutine.create(),没有处理coroutine.wrap(),这个如何更好的处理?

https://stackoverflow.com/questions/38158473/luajit-cant-hook-tail-return 这个会导致 stepOverCounter 无法恢复为0,如果当前在进入尾调用函数上,step over会无法断点到下一行

**Describe the bug** 框架:xlua 编辑器:Unity 问题:在 pc 上启动 lua 程序后,开启使用 attach 模式的 debugger。debug 结束后断开 debugger 但是不中断 lua 程序。再次开启 debugger 试图连接到 lua 程序,发现 debugger 一直显示正在等待连接,无法连接上 lua 程序。 **Expected behavior** 在全程不停止 lua...

设置__pairs元方法会导致显示的变量异常 例如将查询定位到子Key的操作。 会导致调试显示错误,但实际数据是设置正确的。 __ipairs = function(t) return ipairs(t.__rawobj) end, __pairs = function(t) return pairs(t.__rawobj) end,

**Connection to server got closed. Server will not be restarted.** A clear and concise description of what the bug is. 文件Cache刷新完毕,共计606个文件, 其中604个lua类型文件 c:\Users\tcuser\.vscode\extensions\stuartwang.luapanda-3.1.0\node_modules\web-tree-sitter\tree-sitter.js:1 var Module=void 0!==Module?Module:{};!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():window.TreeSitter=t()}(0,function(){var e,t={};for(e in...

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 请问有啥处理办法吗? 具体vscode日志如下: LuaAnalyzer init success! 文件Cache刷新完毕,共计9470个文件, 其中8975个lua类型文件 [36348:371C0000] 11988 ms: Mark-sweep 1005.9 (1044.3) -> 1003.3 (1046.1) MB,...

项目里正常的断点可以断到,协程执行时断不到。 在协程代码内部加上LuaPanda.BP()可以断到,但是这样肯定是不方便的。 看到文档Feature里有写可以调试协程,所以想问问是不是哪里用的有问题。 大致用法就是在一个UI的Open回调里追加了一些测试函数: ``` function UI_1:OnOpen() /*断点能进到这里*/ a = coroutine.create(function(p) log(p); local b = coroutine.yield(1); log(b); end coroutine.resume(a, 0); coroutine.resume(a, 1); end ``` 断点打在log(b)这一行就断不进去