You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debugger doesn't seem to start with 2.0.10, but works with 2.0.9 #298
The debugger doesn't seem to start with 2.0.10, but it works with 2.0.9.
For 2.0.10, nothing happens when starting a debug session. VS Code just shows that "something is loading" for about a second, and then nothing more. I didn't manage to find any logs.
I'm using WSL with Devcontainer and Lua 5.4. Attached zip with setup: proj.zip
This snippet from the comparison between 2.0.9 and 2.0.10 looks strange to me. Commit is here 2a353aa but doesn't give much information which bug and why?
Original code filtered events to EPOLLIN or EPOLLOUT when event EPOLLERR or EPOLLHUP comes. New code just adds those events (both; even if they're not there) -- no idea why, but this could be legit: https://stackoverflow.com/a/29206631/1116364
I've built version 2.0.11 from the sources, and it started.
The errors with violations have not disappeared from the log file, but they do not affect the ability to work.
Lenovo% cd /home/serg/Projects/lua/llstest ; /home/serg/.vscode/extensions/actboy168.lua-debug-2.0.11-linux-x64/runtime/linux-x64/lua54/lua -e dofile\"/home/serg/.vscode
/extensions/actboy168.lua-debug-2.0.11-linux-x64/script/launch.lua\"\;DBG\"28075\" /home/serg/Projects/lua/llstest/dbgtst.lua
OS: Linux Mint 22 x86_64
Kernel: 6.8.0-51-generic
Shell: zsh 5.9
cpp (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
GNU C Library (Ubuntu GLIBC 2.39-0ubuntu8.3) stable release version 2.39.
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000076395c600000)
EDIT.
In addition.
During the build, I had to install binutils-dev and libunwind-dev as they were not installed by default.
Activity
dev0x13 commentedon Aug 5, 2024
I confirm, that happens on my setup as well (VSCode 1.92.0, Ubuntu 24.04, Lua 5.4).
fikin commentedon Aug 13, 2024
and i can confirm same (debian bookworm, vscode 1.91.1, lua53)
yuanyan3060 commentedon Aug 19, 2024
and i can confirm same (arch, vscode 1.92.2, luajit)
musteresel commentedon Sep 16, 2024
Can confirm with VSCode:
I'm using a Docker devcontainer if that makes any difference. Also had the same issue with VSCode 1.85.1
Downgrading to 2.0.9 solves the issue
musteresel commentedon Sep 16, 2024
https://github.com/actboy168/lua-debug/compare/9e1f465..4412c81#diff-3cf49c5cb77b73d73f43a5a0fa4da72179071c9100c3044ef2a3a84bc3a5b58aR105
This snippet from the comparison between 2.0.9 and 2.0.10 looks strange to me. Commit is here 2a353aa but doesn't give much information which bug and why?
Original code filtered events to EPOLLIN or EPOLLOUT when event EPOLLERR or EPOLLHUP comes. New code just adds those events (both; even if they're not there) -- no idea why, but this could be legit: https://stackoverflow.com/a/29206631/1116364
district10 commentedon Sep 28, 2024
2.0.9 does not work for me either.
musteresel commentedon Oct 18, 2024
@actboy168 Is this commit a6a380e referring to this bug here?
serg3295 commentedon Dec 28, 2024
I can confirm this bug (
Linux Lenovo 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux)Both versions 2.0.10 and 2.0.11 do not run.
Successful run 2.0.9:
Failed run 2.0.11:
Crash log (Developer Tools > Console )
serg3295 commentedon Dec 28, 2024
I've built version 2.0.11 from the sources, and it started.
The errors with violations have not disappeared from the log file, but they do not affect the ability to work.
OS: Linux Mint 22 x86_64
Kernel: 6.8.0-51-generic
Shell: zsh 5.9
cpp (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
GNU C Library (Ubuntu GLIBC 2.39-0ubuntu8.3) stable release version 2.39.
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000076395c600000)
EDIT.
In addition.
During the build, I had to install
binutils-devandlibunwind-devas they were not installed by default.Silverlan commentedon Jun 11, 2025
This issue seems to persist with 2.0.12 (tested on Ubuntu 24).
@serg3295 solution worked for me. I checked out the code at commit 9ae36a2 (version 2.0.11) . In addition, I also had to apply this commit manually:
https://github.com/actboy168/lua-debug/pull/311/files