Closed JayaAnim closed 9 months ago
Here is the dap.log file:
[ INFO ] 2023-09-30T22:08:28Z-0500 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:744 ] "Telemetry" "VS/Diagnostics/Debugger/Launch" [ ERROR ] 2023-09-30T22:24:01Z-0500 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1431 ] "stderr" { command = "/usr/bin/lldb", name = "lldb", type = "executable" } "error: 'Content-Length' is not a valid command.\n" [ ERROR ] 2023-09-30T22:24:02Z-0500 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1431 ] "stderr" { command = "/usr/bin/lldb", name = "lldb", type = "executable" } "error: '{\"arguments\":{\"supportsRunInTerminalRequest\":true,\"supportsVariableType\":true,\"supportsProgressReporting\":true,\"supportsStartDebuggingRequest\":true,\"locale\":\"en_US.UTF-8\",\"clientId\":\"neo vim\",\"clientname\":\"neovim\",\"adapterID\":\"nvim-dap\",\"pathFormat\":\"path\",\"columnsStartAt1\":true,\"linesStartAt1\":true},\"command\":\"initialize\",\"seq\":0,\"type\":\"request\"}Content-Length:' is not a vali d command.\n"
[ ERROR ] 2023-09-30T22:24:32Z-0500 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1431 ] "stderr" { command = "/usr/bin/lldb", name = "lldb", type = "executable" } "error: 'Content-Length' is not a valid command.\n"
The lldb
executable doesn't speak the debug adapter protocol directly, you need to use an adapter like lldb-vscode. Please check the wiki: https://github.com/mfussenegger/nvim-dap/wiki/Debug-Adapter-installation
Debug adapter definition and debug configuration
Debug adapter version
3.4.5
Steps to Reproduce
Expected Result
Nvim dap should properly configure and run
Actual Result
Nvim dap says there is either the server is slow or there is a configuration error with lldb. I have tried every, single, adapater. None work.