Skip to content

Hangs on Start - v2.2.2 - Fedora 42 #340

@codrod

Description

@codrod

The debugger starts but does not fully load and instead hangs with only an option to exit the debugger in VS Code.

Expected Behavior

The debugger should start and run normally.

Current Behavior

The debugger starts but hangs without fully loading.

Note this error can be found in "master.log":

[2026-02-09 13:48:21:003][[string " local rootpath = "/home/tux/.vscode/e..."]: 12][ERROR]ERROR:...oy168.lua-debug-2.2.2-linux-x64/script/common/socket.lua:86: bind: (net:2)No such file or directory
stack traceback:
[C]: in global 'assert'
...oy168.lua-debug-2.2.2-linux-x64/script/common/socket.lua:86: in function 'common.socket'
[string " local rootpath = "/home/tux/.vscode/e..."]:6: in function <[string " local rootpath = "/home/tux/.vscode/e..."]:5>
[C]: in global 'xpcall'
[string " local rootpath = "/home/tux/.vscode/e..."]:5: in main chunk
[C]: in ?

Steps to Reproduce

  1. Run -> Start Debugging

Context (Environment)

platform: Fedora 42
lua-debug: v2.2.2
vs-code: 1.109.0

Detailed Description

The debugger fails to fully load because of a bug recently introduced in the fix for ISSUE #333.

Commit: beb7101

Possible Implementation

I already have fix ready and will submit a PR after completing this bug ticket. I have confirmed the issue is fixed on Linux (Fedora 42) but I am not sure why this problem only affected Linux systems. I don't currently have a Windows test environment available but it would be a good idea to test my PR, and the current version, on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions