rust-lang / rust-lang/rust-analyzer

Rust-Analyzer - Debug not working

Open
#20,341 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

Hello everyone.
I'm trying to debug a simple program made with "cargo new hello".
So far, when I try to debug it, I get an error popup telling I have to install "CodeLLDB, lldb-dap, C/C++ or Native Debug".
The problem is I already have installed CodeLLDB extension, but it doesn't get detected.

What should I do?

Thanks in advance for any kind of support.
Regards, have a nice day.

Kinly, Giuseppe.

Edit - P.S.: I'm using GitHub CodeSpaces (CodeServer)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Begin by reproducing debugging for a cargo new hello project in GitHub Codespaces/CodeServer with CodeLLDB installed, then inspect why the debugger is not detected. Done would require identifying the environment-specific cause and confirming a fix or clear resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.