Closed ahoppen closed 5 months ago
lldb-dap
is not in the Linux toolchain. Anyway you can already use it by selecting the option Swift > Debugger: Use debug adapter from toochain
. Temporarily in a release version of the extension you also need to set the path to the debug adapter as well because the current release uses the old debug adapter name lldb-vscode
.
@adam-fowler with https://github.com/llvm/llvm-project/pull/88482 (and the corresponding cherry-pick to the Swift branches), do you think we can make that the default (and have a fallback for the old name in older releases)?
@JDevlieghere There is a change, not yet released that uses lldb-dap if the Swift version is 6 or above.
@JDevlieghere v1.9 which has just been released uses lldb-dap
for swift 6 builds.
If the Swift toolchain includes
lldb-dap
(which recent Swift development snapshots for 6.0 andmain
do), I think we should use that to debug an executable instead of relying onCodeLLDB
.