Closed gamerguilu closed 7 months ago
测试代码: local num = 1 function TestTable:Init() for i = 1, num do num = num + 20 end self:Init() end 看起来是Hook==nullptr,本地注释掉此判空语句可以正常进入deadloop的luaL_error,请问这样做会不会导致什么问题
local num = 1 function TestTable:Init() for i = 1, num do num = num + 20 end self:Init() end
搞清楚了,是因为调试器占用了hook,此处判断是给调试器让出hook位
测试代码:
local num = 1 function TestTable:Init() for i = 1, num do num = num + 20 end self:Init() end
看起来是Hook==nullptr,本地注释掉此判空语句可以正常进入deadloop的luaL_error,请问这样做会不会导致什么问题