lldb-server #555
-
Can you please explain whether it is possible to connect to lldb-server using this plugin? local dap = require('dap')
dap.adapters.lldb_server = {
type = 'server',
host = '127.0.0.1',
port = 13000,
}
dap.configurations.cpp = {
{
type = 'lldb_server',
request = 'attach',
name = 'Connect',
cwd = '${workspaceFolder}',
},
} I launch: And after issuing
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
lldb-server itself doesn't implement the debug adapter protocol. But a debug adapter like codelldb supports it. See https://github.com/vadimcn/vscode-lldb/blob/54d4fbb2dead83e98bd44d07057b67efc4305531/MANUAL.md#connecting-to-lldb-server-agent |
Beta Was this translation helpful? Give feedback.
-
@mfussenegger Thank you for the answer. I missed wiki about C/C++/Rust (cpptools), workflow I wanted to achieve is starting debuggee with parameters from the shell and connecting with nvim-dap, cpptools gives this ability. |
Beta Was this translation helpful? Give feedback.
lldb-server itself doesn't implement the debug adapter protocol. But a debug adapter like codelldb supports it. See https://github.com/vadimcn/vscode-lldb/blob/54d4fbb2dead83e98bd44d07057b67efc4305531/MANUAL.md#connecting-to-lldb-server-agent