-
Notifications
You must be signed in to change notification settings - Fork 71
Extension shows the "need to update some CodeLLDB settings" alert extremely frequently #991
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
Comments
Every time you change swift version it needs to update those settings |
@NSExceptional Is there anything you're doing just before this dialog appears? Updating Swift toolchains? @adam-fowler I'm not sure but I think this dialog might also come up when a new version of the vscode-swift extension is released? |
That must be it, I am changing between the beta and the release versions of Xcode. There has to be a way to do this automatically without prompting the user every time though, right? |
Well there's the decision to make the change globally or on the workspace that needs to be made. I guess we could add a setting that has the options always set it globally, always set it for the workspace, show dialog |
Why not just use global if no workspace CodeLLDB settings were ever set, and use workspace if there are some set? Is that possible? If not, what you suggested sounds fine too |
This could be annoying if you have two projects open that use different versions of swift |
I see, okay. The setting is probably the way to go then |
#1024 should help with this if you're on Swift 6. It will use |
I'm going to move this into verification since the latest changes to debugging should help mitigate this issue (though it hasn't been released yet - hoping to release soontm). We're moving away from CodeLLDB in favour of the LLDB DAP extension provided by the LLVM Project. This extension is configurable without the need of global settings which is what causes the notification to appear. However, if you still want to use CodeLLDB then we've also added the following setting to update CodeLLDB settings automatically if you want to avoid the notification: {
"swift.debugger.setupCodeLLDB": "alwaysUpdateWorkspace"
} Please reopen if you feel like these changes aren't sufficient. |
Verified with cef4e6c |
I'm seeing this message several times a week, if not every day:
I hope this is not intended. I always click "global"
Environment
The text was updated successfully, but these errors were encountered: