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

Problem running Rust Debug with rust and lsp layer #16289

Open
varunarang opened this issue Feb 17, 2024 · 1 comment
Open

Problem running Rust Debug with rust and lsp layer #16289

varunarang opened this issue Feb 17, 2024 · 1 comment
Assignees

Comments

@varunarang
Copy link

I don't believe this is a bug, but more of a configuration issue.

I am trying to work out Rust debug configuration using the rust layer. Here is the spacemacs layers details, with no other changes to config file:

 dotspacemacs-configuration-layers
   '(
     ;; ----------------------------------------------------------------
     ;; Example of useful layers you may want to use right away.
     ;; Uncomment some layer names and press `SPC f e R' (Vim style) or
     ;; `M-m f e R' (Emacs style) to install them.
     ;; ----------------------------------------------------------------
     auto-completion
     better-defaults
     emacs-lisp
     git
     helm
     lsp
     markdown
     rust
     go
     dap
     multiple-cursors
     org
     neotree
     (shell :variables
            shell-default-height 30
            shell-protect-eshell-prompt nil
            shell-enable-smart-eshell t
            shell-default-position 'bottom)
     ;; spell-checking
     ;; syntax-checking
     ;; version-control
     treemacs)

When I run the debug using lsp-rust-analyzer-debug, I get an error:

$HOME/.emacs.d/.extension/vscode/cpptools/extension/debugAdapters/bin/OpenDebugAD7: No such file or directory

Please note that running a the program works just fine using rustic-cargo-run or usinglsp-rust-analyzer-run

Can someone help me fix the config please? Thank you in advance,

@smile13241324
Copy link
Collaborator

I am not working with rust sorry but maybe @lebensterben can help.

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

No branches or pull requests

2 participants