Unnamed repository; edit this file 'description' to name the repository.
Fix debug sourceFileMap when using cppvsdbg
- Fix #18782
Inflation 2025-03-29
parent a73a37a · commit 375386e
-rw-r--r--editors/code/src/debug.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index 04211d77e7..a04a6db7ad 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -225,7 +225,7 @@ async function discoverSourceFileMap(
const commitHash = rx.exec(data)?.[1];
if (commitHash) {
const rustlib = path.normalize(sysroot + "/lib/rustlib/src/rust");
- return { source: rustlib, destination: rustlib };
+ return { source: "/rustc/" + commitHash, destination: rustlib };
}
}