We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed2fd7 commit 52cc3feCopy full SHA for 52cc3fe
src/toolchain/toolchain.ts
@@ -345,7 +345,10 @@ export class SwiftToolchain {
345
* is not in macOS toolchain path
346
*/
347
public async getLLDB(): Promise<string> {
348
- let lldbPath = path.join(this.swiftFolderPath, "lldb");
+ let lldbPath = path.join(
349
+ this.swiftFolderPath,
350
+ process.platform === "win32" ? "lldb.exe" : "lldb"
351
+ );
352
if (!(await pathExists(lldbPath))) {
353
if (process.platform !== "darwin") {
354
throw new Error("Failed to find LLDB in swift toolchain");
0 commit comments