mfussenegger/nvim-dap

Error message when step through debugging

xy-lin opened this issue · 4 comments

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

  1. Set break point
  2. Start debugging
  3. When Step over any line, the error message will pop up

Expected Result

No error message

Actual Result

dapDebug

Not sure this is issue from Treesitter or nvim-dap or nvim-dap-ui.

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.

Thanks for replay and the hint for possible cause.

Looks like there's also a PR to fix it up already: theHamsta/nvim-dap-virtual-text#87

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.