Skip to content
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

lldb: -- Could not find swift-plugin-server for C:\Users\compnerd\AppData\Local\Programs\Swift\Toolchains\6.0.1+Asserts\usr\bin #78749

Open
compnerd opened this issue Jan 19, 2025 · 5 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. lldb Windows Platform: Windows

Comments

@compnerd
Copy link
Member

Description

When using LLDB from the command line, evaluating expressions yields the following diagnostic message:

-- Could not find swift-plugin-server for C:\Users\compnerd\AppData\Local\Programs\Swift\Toolchains\6.0.1+Asserts\usr\bin

Reproduction

p var

Expected behavior

The plugin server to be found

Environment

> swiftc -version
Swift version 6.0.1 (swift-6.0.1-RELEASE)
Target: aarch64-unknown-windows-msvc

Additional information

No response

@compnerd compnerd added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. lldb Windows Platform: Windows labels Jan 19, 2025
@adrian-prantl
Copy link
Contributor

This is probably not a bug. The compiler adds plugin search paths by default that don't necessarily exist.

@adrian-prantl
Copy link
Contributor

You're probably seeing this because it gets sent to the always-on log channel.

@compnerd
Copy link
Member Author

This really makes the debugger less functional IMO, we should ignore these warnings in LLDB then I think.

@adrian-prantl
Copy link
Contributor

This really makes the debugger less functional IMO, we should ignore these warnings in LLDB then I think.

Can you be more specific?
Are you arguing against the always-on log channel in LLDB on Windows being routed to stderr, or something else?

@compnerd
Copy link
Member Author

I think that we should filter out the warnings. stderr is visible on the console and does interfere with usability. As an example, this is what happens when you try to do expression evaluation:

Image

I'd like to make the LLDB experience on Windows at least usable (the overall experience feels pretty rough in comparison to WinDBG still).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. lldb Windows Platform: Windows
Projects
None yet
Development

No branches or pull requests

2 participants