Windows Debug hello World -> Unable to launch Rust Project from selection
See original GitHub issueI installed rust, eclipse, created a new cargo project and tried to launch it.
Eclipse opened the settings panel complaining: “install missing rls component in rustup”
I installed rustup component add rls-preview rust-analysis rust-src
and the message was gone. It would have been nice to get a better help than “install missing rls component in rustup”
Running the application worked fine now, but debugging gave me:
I should mention, that I’m a rust newcomer without hardly any C/C++ background, but I suppose this actually should run “out of the box”?
Issue Analytics
- State:
- Created 5 years ago
- Comments:30 (23 by maintainers)
Top Results From Across the Web
Unable to compile Rust hello world on Windows: linker link ...
I downloaded and installed the Build Tools for Visual Studio 2019. During installation I selected the C++ tools. It downloaded almost 5GB of ......
Read more >Set up your dev environment on Windows for Rust
Hello, world! tutorial (Rust with VS Code) · First, launch a command prompt ( cmd.exe ), and cd to a folder where you...
Read more >Rust with Visual Studio Code
Learn about Visual Studio Code editor features (code completion, debugging, snippets, linting) for Rust.
Read more >Getting Started with Rust on Windows and Visual Studio Code
Stuck getting started with Rust in VS Code? Let me help! This post will have you compiling, debugging, and unit testing Rust code...
Read more >Getting Started with Rust on Windows and Visual Studio Code
Change the program value to be “${workspaceFolder}/target/debug/hello-world.exe” and save the file. Your launch.json should look similar to mine ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Boereck Yes it’s strange. I’ve just tried it again and shows now the error log:
No idea why Python shows problem during launch of the GDB executable… The same gdb.exe is working with “C/C++ Application” debug config!
OK, now it works with MinGW GDB 8.2 if i create other debug config like described in #138 under “C/C++ Application” and full path to executable
with .gdbinit for rust pretty printers --> it stops at breakpoint and shows the Variables 😃
So there is something different in debug config under “Rust” for launching gdb with working dir or exe path…