Fix nightly debugging test failures #1388
Open
+109
−46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recent changes to launch configuration options and prompts for CodeLLDB broke the nightly tests. Fix those issues here by:
swift
launch config type instead ofswift-lldb
swift.debugger.debugAdapter
to set the debug adapter that the tests useswift.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 ofliblldb
don't seem to be compatible with CodeLLDB. The tests fail to start due to the debug adapter crashing.