Skip to content

Debug functionalilty broken in VS code on MacOS #16901

Closed
@git-luke

Description

@git-luke

rust-analyzer version: 0.3.1885-standalone (b6d1887 2024-03-17)
Issue also occurs on 0.3.1877-standalone (574e23e 2024-03-09)
Does not occur on previous versions.

rustc version: rustc 1.73.0 (cc66ad468 2023-10-03)

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

  • MacOS 14.3.1 with Apple M1 Pro
  • VS Code Version: 1.87.1 (Universal)
  • CodeLLDB v1.10.0
  • No configurations in launch.json:
{
    "version": "0.2.0",
    "configurations": []
}

Running any #[test] > Debug results in popup:
"Unable to start debugging. Launch options string provided by the project system is invalid. Unable to determine path to debugger. Please specify the "MIDebuggerPath" option."

  • No change in any setting other than updating the rust-analyzer extension to one of the two versions above triggers this issue.
  • No problems on rust-analyzer version: 0.3.1868-standalone (037924c 2024-03-03) or lower.

repository link (if public, optional): -

code snippet to reproduce:

#[test]
// any test

Thank you for investigating!

Metadata

Metadata

Assignees

Labels

Broken WindowBugs / technical debt to be addressed immediatelyC-bugCategory: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions