rust-lang / rust-lang/rust-analyzer
rust-analyzer can not debug bevy programs
Open
Nobody has claimed this yet.
S-unactionable
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
Versions
Bevy: 0.5.0
rust-analyzer: 2021-11-08
Operating system & version
ArchLinux, updated
What you did
- follow the bevy setup: https://bevyengine.org/learn/book/getting-started/setup/
- run in debug mode in vscode (rust-analyzer) or clion (Rust)
What you expected to happen
- The program should run and be debug
What actually happened
Errors out with:
error while loading shared libraries: libbevy_dylib-c81a0be9ecb3efc6.so: cannot open shared object file: No such file or directory
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by following the linked Bevy setup, then reproduce the debug launch in VS Code with rust-analyzer or CLion using the reported Bevy and rust-analyzer versions. Investigate why libbevy_dylib-c81a0be9ecb3efc6.so cannot be found; done means the Bevy program launches and can be debugged without this shared-library error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100