Page 1 of 1
[2.1.8] Crash with LuaDebugAdapter
Posted: Sat Jun 27, 2026 5:25 am
by hgschmie
Had the game sitting under the debugger on a breakpoint for a while, editing some of the source code files.
Then moving cursor out of vscode, game crashed immediately.
Re: [2.1.8] Crash with LuaDebugAdapter
Posted: Sat Jun 27, 2026 3:34 pm
by justarandomgeek
Very strange. It looks like you caused a SetBreakpoints request, which then failed at a completely nonsensical spot as it was looking for the corresponding known source file to (re)validate those breakpoints. Can you tell me more about what you were doing before this happened?
Re: [2.1.8] Crash with LuaDebugAdapter
Posted: Sat Jun 27, 2026 4:29 pm
by hgschmie
I was editing a migration file that had a breakpoint in it and at some point I renamed the file (from foo.lua to bar.lua). So the foo.lua was gone (and your explanation make sense, if it tried to revalidate the breakpoint in foo.lua, it would fail).
Re: [2.1.8] Crash with LuaDebugAdapter
Posted: Sun Jun 28, 2026 3:20 am
by justarandomgeek
i've submitted a couple patches to help investigate this in more detail (or if we're lucky, maybe just fix it)
mods, if we could adjust the title to "Crash with LuaDebugAdapter when updating breakpoints"