actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
437 stars 95 forks source link

使用xpcall debug时,执行xpcall报错,会造成进程crash #130

Closed han-zang closed 3 years ago

han-zang commented 3 years ago

这是我的测试代码 local s = {} local results = xpcall(s["a"], function(e) print("sf") end, {12})

请问,是需要怎么配置才能不造成进程crash。

actboy168 commented 3 years ago

我无法重现

han-zang commented 3 years ago

已经找到问题了, 需要关闭vscode断点下的Caught Errors By Native和Uncaught Errors 这2个选项