Skip to content

[lldb-dap] Error: Server process exited early with code 1 #168878

@mumupika

Description

@mumupika

I encountered with the problems: Server process exited early with code 1
when I tried to use lldb-dap.

Image Image

system: MacOS 15.4.1 (24E263) Sequoia
lldb-dap:

lldb-dap: Homebrew LLVM version 21.1.5
  Optimized build.
liblldb: lldb version 21.1.5

lldb: lldb version 21.1.5
lldb-dap extension version: 0.3.20251119 (also having problem on 0.2.18)

Settings:

"lldb-dap.executable-path": "/opt/homebrew/opt/llvm/bin/lldb-dap",
"lldb-dap.connectionTimeout": 10,
"lldb-dap.serverMode": true,

Launch.json

{
            "type": "lldb-dap",
            "request": "launch",
            "name": "Debug_lldb_dap",
            "program": "${workspaceFolder}/build/main",
            "args": [],
            "env": [],
            "cwd": "${workspaceFolder}",
            "preLaunchTask": "cmake",
            "console": "integratedTerminal",
            "stopOnEntry": true
},

The extension log:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions