Skip to content

Commit 375386e

Browse files
committed
Fix debug sourceFileMap when using cppvsdbg
- Fix #18782
1 parent a73a37a commit 375386e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/debug.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ async function discoverSourceFileMap(
225225
const commitHash = rx.exec(data)?.[1];
226226
if (commitHash) {
227227
const rustlib = path.normalize(sysroot + "/lib/rustlib/src/rust");
228-
return { source: rustlib, destination: rustlib };
228+
return { source: "/rustc/" + commitHash, destination: rustlib };
229229
}
230230
}
231231

0 commit comments

Comments
 (0)