I am using codelldb to debug c++ and configure it according to the steps in the wiki, but there are always error occurring.
Error executing vim.schedule lua callback: ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:308: attempt to concatenate field 'threadId' (a nil value)
stack traceback:
...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:308: in function 'callback'
...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:579: in function <...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:571>
Press ENTER or type command to continue
Debug adapter didn't respond. Either the adapter is slow (then wait and ignore this) or there is a problem with your adapter or codelldb configuration. Check the logs for
errors (:help dap.set_log_level)
Press ENTER or type command to continue
So I run :lua require"dap".set_log_level("DEBUG") in the neovim and the following is the content in the dap.log
And the following is my configuration for the dap_install:
local dap_install = require("dap-install")
local dbg_list = require("dap-install.api.debuggers").get_installed_debuggers()
for _, debugger in ipairs(dbg_list) do
dap_install.config(debugger)
end
Hi there,
I am using codelldb to debug c++ and configure it according to the steps in the wiki, but there are always error occurring.
So I run
:lua require"dap".set_log_level("DEBUG")
in the neovim and the following is the content in the dap.logAnd the following is my configuration for the dap_install:
Thanks in advance!