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

Fix nightly debugging test failures #1388

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

matthewbastien
Copy link
Member

@matthewbastien matthewbastien commented Feb 13, 2025

Recent changes to launch configuration options and prompts for CodeLLDB broke the nightly tests. Fix those issues here by:

  • Updating tests to use the swift launch config type instead of swift-lldb
  • Use the new setting swift.debugger.debugAdapter to set the debug adapter that the tests use
  • Add a new setting called swift.debugger.setupCodeLLDB that controls how CodeLLDB settings are updated. Tests now set this to "alwaysUpdateGlobal" so that they don't have to deal with the prompt at all.

I also had to disable the use of liblldb in tests with Swift versions <5.10 since those versions of liblldb don't seem to be compatible with CodeLLDB. The tests fail to start due to the debug adapter crashing.

@matthewbastien matthewbastien added the full-test-run Perform a full test suite run. Apply this label before pushing up a PR or commit label Feb 13, 2025
@matthewbastien matthewbastien changed the title Change "swift-lldb" debug configs to "swift" in tests Fix nightly debugging test failures Feb 13, 2025
@award999
Copy link
Contributor

@matthewbastien pre-6.0 you may have to disable these tests or use codelldb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-test-run Perform a full test suite run. Apply this label before pushing up a PR or commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants