-
Notifications
You must be signed in to change notification settings - Fork 54
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
Run Swift Script command doesn't work on Windows #423
Comments
Seems to duplicate #416 (comment)? It should be a Swift Driver bug which is pure toolchain-related. Once the Swift Driver bug is fixed, we should be able to use the feature. |
Also running into the same issue. I can run However, if I use the I noticed the following settings: I tried setting the SDK to:
and the Runtime Path to:
and
however, setting those don't appear to resolve the issue. |
The last time I looked running swift scripts on Windows was broken ie running |
No, the underlying issue is LLDB, not Swift. There has been no one who has stepped up to help work on LLDB, so this is still not available. |
Just wanted to clarify. Compiling and runningCompiling with Here's the output from evaluating that code: Running with
|
@dharmatech correct. |
Do I understand the above comments correctly: Running Swift with LLDB is not currently possible on Windows at all, and Swift code thus cannot be debugged on Windows? |
No this is about running swift as a script. You can use LLDB to debug Swift executables. |
The "swift: Run Swift Script" command doesn't work on Windows, as is to be expected.
It shows the same error as when running
swift file.swift
on the command line:Environment: Swift 5.7 on Windows 11
The text was updated successfully, but these errors were encountered: