-
Notifications
You must be signed in to change notification settings - Fork 1.8k
internal: fix lldb-dap unconditionally calling rustc #18320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal: fix lldb-dap unconditionally calling rustc #18320
Conversation
@@ -189,11 +203,15 @@ async function getDebugConfiguration( | |||
return debugConfig; | |||
} | |||
|
|||
type SourceFileMap = { | |||
source: string; | |||
destination: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: maybe target
, but don't bother changing it.
@bors r+ |
…ustc, r=davidbarsky internal: fix lldb-dap unconditionally calling rustc Fixes #18318. I also took the opportunity to refactor how `discoverSourceFileMap` worked—it now returns a type instead of mutating a map in place. I tested this change using the LLDB DAP extension. I needed to set `"lldb-dap.executable-path": "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-dap"` for everything to work, however, but once I did, was able to successfully debug a test.
@bors retry |
…ustc, r=davidbarsky internal: fix lldb-dap unconditionally calling rustc Fixes #18318. I also took the opportunity to refactor how `discoverSourceFileMap` worked—it now returns a type instead of mutating a map in place. I tested this change using the LLDB DAP extension. I needed to set `"lldb-dap.executable-path": "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-dap"` for everything to work, however, but once I did, was able to successfully debug a test.
💥 Test timed out |
@bors retry |
…ustc, r=davidbarsky internal: fix lldb-dap unconditionally calling rustc Fixes #18318. I also took the opportunity to refactor how `discoverSourceFileMap` worked—it now returns a type instead of mutating a map in place. I tested this change using the LLDB DAP extension. I needed to set `"lldb-dap.executable-path": "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-dap"` for everything to work, however, but once I did, was able to successfully debug a test.
💥 Test timed out |
@bors retry |
…ustc, r=davidbarsky internal: fix lldb-dap unconditionally calling rustc Fixes #18318. I also took the opportunity to refactor how `discoverSourceFileMap` worked—it now returns a type instead of mutating a map in place. I tested this change using the LLDB DAP extension. I needed to set `"lldb-dap.executable-path": "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-dap"` for everything to work, however, but once I did, was able to successfully debug a test.
💔 Test failed - checks-actions |
@bors r+ |
💡 This pull request was already approved, no need to approve it again.
|
☀️ Test successful - checks-actions |
Fixes #18318. I also took the opportunity to refactor how
discoverSourceFileMap
worked—it now returns a type instead of mutating a map in place.I tested this change using the LLDB DAP extension. I needed to set
"lldb-dap.executable-path": "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-dap"
for everything to work, however, but once I did, was able to successfully debug a test.