Skip to content

Debugger Problem: Key 'program' is not set in launch configuration and / or is not a string.Β #58

@sined0606

Description

@sined0606

I found an issue.
I got a popup that is important to report.

241122.16.45.51.283 - Creating FileScannerFactory. 241122.16.45.51.299 - Creating MDS. Workspace root: C:\Users\linoa\erstes_rust_projekt. 241122.16.45.51.299 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.299 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\src\main.rs. 241122.16.45.51.299 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.299 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\src\main.rs. 241122.16.45.51.299 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.299 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.299 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.299 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.299 - ... Cache miss: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.299 - ... using cargo.exe from 'C:\Users\linoa\.cargo\bin\cargo.exe'. 241122.16.45.51.299 - Started PID:18680 with args: C:\Users\linoa\.cargo\bin\cargo.exe metadata --no-deps --format-version 1 --manifest-path C:\Users\linoa\erstes_rust_projekt\Cargo.toml --offline... 241122.16.45.51.299 - ... Finished PID 18680 with exit code 0. 241122.16.45.51.564 - Starting rust-analyzer from path: c:\users\linoa\appdata\local\microsoft\visualstudio\17.0_3447fe78\extensions\xrk0f2r2.4di\2024-11-18\rust-analyzer.exe. 241122.16.45.51.595 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\src\main.rs. 241122.16.45.51.595 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.595 - Done starting rust-analyzer from path. PID: 11964 241122.16.45.51.642 - Creating FileContextProviderFactory. 241122.16.45.51.658 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\src\main.rs. 241122.16.45.51.658 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.51.925 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\src\main.rs. 241122.16.45.51.940 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.45.52.128 - Attempting to show release notes... 241122.16.45.52.128 - ... Not showing release notes as it has already been dismissed by the user. 241122.16.45.52.144 - Searching and disabling incompatible extensions. 241122.16.45.52.160 - Running PreReqCheck: VsVersionCheck... 241122.16.45.52.160 - Running PreReqCheck: CheckRustupAsync... 241122.16.45.52.160 - Running PreReqCheck: CheckCargoAsync... 241122.16.45.52.160 - ... using cargo.exe from 'C:\Users\linoa\.cargo\bin\cargo.exe'. 241122.16.45.52.176 - Initiating download of RLS... 241122.16.45.52.898 - Not going to download RLS. Installed = 2024-11-18, Latest = https://github.com/rust-lang/rust-analyzer/releases/download/2024-11-18/rust-analyzer-x86_64-pc-windows-msvc.zip. 241122.16.46.02.958 - Starting rust-analyzer from path: c:\users\linoa\appdata\local\microsoft\visualstudio\17.0_3447fe78\extensions\xrk0f2r2.4di\2024-11-18\rust-analyzer.exe. 241122.16.46.02.975 - Done starting rust-analyzer from path. PID: 6560 241122.16.46.15.617 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\src\main.rs. 241122.16.46.15.617 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.46.15.617 - OnWorkspaceUpdateAsync: Removing from cache: C:\Users\linoa\erstes_rust_projekt\Cargo.toml 241122.16.46.15.617 - GetContainingPackageAsync. File path: C:\Users\linoa\erstes_rust_projekt\src\main.rs. 241122.16.46.15.617 - GetPackageAsync. Manifest path: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.46.15.617 - ... Cache miss: C:\Users\linoa\erstes_rust_projekt\Cargo.toml. 241122.16.46.15.617 - ... using cargo.exe from 'C:\Users\linoa\.cargo\bin\cargo.exe'. 241122.16.46.15.632 - Started PID:12600 with args: C:\Users\linoa\.cargo\bin\cargo.exe metadata --no-deps --format-version 1 --manifest-path C:\Users\linoa\erstes_rust_projekt\Cargo.toml --offline... 241122.16.46.15.739 - ... Finished PID 12600 with exit code 0. 241122.16.46.15.932 - ... using cargo.exe from 'C:\Users\linoa\.cargo\bin\cargo.exe'. 241122.16.46.17.088 - CargoJsonOutputParser failed to parse line: {"reason":"compiler-artifact","package_id":"path+file:///C:/Users/linoa/erstes_rust_projekt#0.1.0","manifest_path":"C:\\Users\\linoa\\erstes_rust_projekt\\Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"erstes_rust_projekt","src_path":"C:\\Users\\linoa\\erstes_rust_projekt\\src/main.rs","edition":"2021","doc":true,"doctest":false,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["C:\\Users\\linoa\\erstes_rust_projekt\\target\\debug\\erstes_rust_projekt.exe","C:\\Users\\linoa\\erstes_rust_projekt\\target\\debug\\erstes_rust_projekt.pdb"],"executable":"C:\\Users\\linoa\\erstes_rust_projekt\\target\\debug\\erstes_rust_projekt.exe","fresh":false}. Exception System.IO.InvalidDataException: Unable to match. Will be shown as is in the output window. bei KS.RustAnalyzer.TestAdapter.Cargo.BuildJsonOutputParser.ParseCompilerArtifact(Object obj) in D:\a\rust-analyzer.vs\rust-analyzer.vs\src\RustAnalyzer.TestAdapter\Cargo\BuildJsonOutputParser.cs:Zeile 166. bei System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) bei KS.RustAnalyzer.TestAdapter.Cargo.BuildJsonOutputParser.Parse(PathEx workspaceRoot, String jsonLine, TL tl) in D:\a\rust-analyzer.vs\rust-analyzer.vs\src\RustAnalyzer.TestAdapter\Cargo\BuildJsonOutputParser.cs:Zeile 54.. 241122.16.46.17.120 - ... using cargo.exe from 'C:\Users\linoa\.cargo\bin\cargo.exe'. 241122.16.46.17.120 - Started PID:23460 with args: C:\Users\linoa\.cargo\bin\cargo.exe metadata --no-deps --format-version 1 --manifest-path C:\Users\linoa\erstes_rust_projekt\Cargo.toml --offline... 241122.16.46.17.230 - ... Finished PID 23460 with exit code 0. 241122.16.46.17.261 - [ERROR]: Key 'program' is not set in launch configuration and / or is not a string. 241122.16.46.54.441 - Starting rust-analyzer from path: c:\users\linoa\appdata\local\microsoft\visualstudio\17.0_3447fe78\extensions\xrk0f2r2.4di\2024-11-18\rust-analyzer.exe. 241122.16.46.54.457 - Done starting rust-analyzer from path. PID: 7708

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions