tomblind / local-lua-debugger-vscode

Local Lua Debugger for VSCode
MIT License
107 stars 26 forks source link

Wrong assert stack level #74

Open TIMONz1535 opened 2 years ago

TIMONz1535 commented 2 years ago

Hello, I see that when the assert is triggered, I fall into a function inside the plugin, which is very annoying. It seems useless.

изображение

Look above, by default the debuggerError function has a stack level (1) + 1 https://github.com/tomblind/local-lua-debugger-vscode/issues/51 Well, if I change the stack level inside debuggerAssert to 2, everything will work as expected

изображение изображение

Is it possible to do this by default?