Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when step through debugging #1332

Closed
xy-lin opened this issue Sep 8, 2024 · 4 comments
Closed

Error message when step through debugging #1332

xy-lin opened this issue Sep 8, 2024 · 4 comments

Comments

@xy-lin
Copy link

xy-lin commented Sep 8, 2024

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.

@mfussenegger
Copy link
Owner

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
Copy link
Author

xy-lin commented Sep 8, 2024

Thanks for replay and the hint for possible cause.

@mfussenegger
Copy link
Owner

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

@xy-lin
Copy link
Author

xy-lin commented Sep 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants