Error message when step through debugging
xy-lin opened this issue · 4 comments
xy-lin commented
Debug adapter definition and debug configuration
require("dap").adapters["codelldb"] = {
type = "server",
host = "127.0.0.1",
port = "${port}",
executable = {
command = "codelldb",
args = {
"--port",
"${port}",
},
},
}
Debug adapter version
latest nightly build
Steps to Reproduce
- Set break point
- Start debugging
- When Step over any line, the error message will pop up
Expected Result
No error message
Actual Result
Not sure this is issue from Treesitter or nvim-dap or nvim-dap-ui.
mfussenegger commented
The error is triggered from nvim-dap-virtual-text. Could be related to a recent change in neovim master: neovim/neovim@6913c5e
In any case - not related to nvim-dap itself.
xy-lin commented
Thanks for replay and the hint for possible cause.
mfussenegger commented
Looks like there's also a PR to fix it up already: theHamsta/nvim-dap-virtual-text#87
xy-lin commented
Looks like there's also a PR to fix it up already: theHamsta/nvim-dap-virtual-text#87
Thanks a lot! After upgrading that plugin, it is back to normal.