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

[BUG] Rust debugging issue #381

Open
tomhampshire opened this issue Mar 13, 2024 · 0 comments
Open

[BUG] Rust debugging issue #381

tomhampshire opened this issue Mar 13, 2024 · 0 comments
Assignees

Comments

@tomhampshire
Copy link

NeoVim Version
NVIM v0.9.5
Using the out-of-the-box settings for LazyVim 10.12.1 (includes Neotest 4.4.2 and Rustaceanvim 4.12.2)
lua configs for rustaceanvim and neotest can be found: https://www.lazyvim.org/extras/lang/rust

Describe the bug

After doing a couple of cycles of debugging tests using lazyvim's out-of-the-box configuration of lang.rust ● lang.rust  crates.nvim  nvim-cmp  nvim-lspconfig  nvim-treesitter  rustaceanvim  mason.nvim  neotest it will get to a state whether neither the "Debug nearest" (errors shown in the two errors in the top right of the image) or the "Run nearest" will execute (error shown in the centre of the image). The only way to prevent this from happening is to exit and restart neovim, when everything will work for a short while before the error returns.

I expect this is an issue with one of the other plugins or an incompatibility with my system, but I'm having real trouble providing more information. If anyone can instruct me on producing some other information to troubleshoot with, please let me know. If we identify an issue with a different plugin, I'm happy to create a relevant bug report there.

image

Steps To Reproduce

  1. install the latest lazyvim on NVIM v0.9.5
    Build type: Release
    LuaJIT 2.1.1702233742

  2. install the lang.rust extra from LazyExtras

  3. install codelldb from Mason

  4. install lldb version 17.0.6 from Arch's package manager

  5. run the debugger on tests using leader, t, d - then continue or terminate.

  6. repeat 5. until the errors occur

This has been reproduced on two separate machines

cross post with LazyVim/LazyVim#2704

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