actboy168 / lua-debug

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

Crash on attach #193

Open mkster opened 2 years ago

mkster commented 2 years ago

I have set up the debugger for my project according to the example here: https://github.com/actboy168/lua-debug/tree/master/examples/attach

When I attach the debugger it crashes here: image

Lua version is 5.3

How can this be solved? Is there any other info I can provide you with?

actboy168 commented 2 years ago

Does your project have modified Lua?

mkster commented 2 years ago

We had some modifications like removing io, os, require and dofile. However removing these modifications didnt help. We are also using sol if this makes any difference.

actboy168 commented 2 years ago

Recompiling the debugger with your modified lua might solve the problem.