Unable to run debugger: GNU debugger cannot be used with MSVC Rust toolchain.
Answered
I'd like to get unit tests working in a rust project (or I cannot justify buying a license) and I'm getting the message I get (pic posted).
what do I need to do to set up "Build execution deployment >. toolchains" to get debugger working (see next screenshot)?
upload id for screenshots:
2023_04_09_28wGwT7UqRkadkWbcgos6y
In the screenshots they show I'm trying to use lldb debugger
Build #CL-231.8109.222, built on April 6, 2023
Oh I am in a Windows 11 environment developing rust code. I was using vscode until it started giving problems
Please sign in to leave a comment.
Hello!
>Unable to run debugger: GNU debugger cannot be used with MSVC Rust toolchain
According to the error message, you installed Rust toolchain for MSVC (Microsoft Visual C++) on your machine. It can't be used with the GNU debugger (GDB). The Rust toolchain should match the debugger. You have two possible ways to solve the issue:
You can find the Rust plugin web help here - https://plugins.jetbrains.com/plugin/8182-rust/docs/welcome-to-rust.html