Skip to content

Commit f12802e

Browse files
authored
Update VS Code CodeLLDB references to LLDB DAP (#1055)
* Update VS Code CodeLLDB references to LLDB DAP The extension now relies on LLDB DAP by default to integrate with the VS Code debugger. Update references accordingly. swiftlang/vscode-swift#1601 * Remove outdated configure LLDB note
1 parent 8ab3c5e commit f12802e

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

_posts/2022-07-14-vscode-extension.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ As Swift is deployed across more platforms, it is important that Swift can be de
1212

1313
Swift is held back from extending outside the Apple ecosystem by the lack of a first-class, integrated development environment on non-Apple platforms. There is no Xcode if you are developing on Linux or Windows.
1414

15-
Until this point there have been individual components to make up that development environment like Apple's [SourceKit-LSP](https://github.com/swiftlang/sourcekit-lsp) project and support for the Swift version of LLDB when using the [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb) extension, but nothing to bring them all together.
15+
Until this point there have been individual components to make up that development environment like Apple's [SourceKit-LSP](https://github.com/swiftlang/sourcekit-lsp) project and support for the Swift version of LLDB when using the [LLDB DAP](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap) extension, but nothing to bring them all together.
1616

1717
The [Swift Server Workgroup](/sswg/) (SSWG) felt there was a need for a more complete solution. The Swift Extension for Visual Studio Code from the SSWG brings together many of these components into one package with everything pre-configured to work from the get-go.
1818

@@ -38,7 +38,7 @@ The language server protocol (LSP) is a standard for providing language features
3838

3939
### Debugger
4040

41-
A debugger is provided via the [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb) debugger extension. All the hard work integrating with LLDB is done by CodeLLDB. The Swift extension provides the integration with CodeLLDB by creating debug launch configurations for your project executables on start up. It also configures CodeLLDB to use the Swift version of LLDB.
41+
A debugger is provided via the [LLDB DAP](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap) debugger extension. All the hard work integrating with LLDB is done by the LLDB DAP (Debug Adapter Protocol) extension. The Swift extension provides the integration with LLDB DAP by creating debug launch configurations for your project executables on start up. It also configures LLDB DAP to use the Swift version of LLDB.
4242

4343
### Test Explorer
4444

Binary file not shown.

documentation/articles/getting-started-with-vscode-swift.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,19 +130,9 @@ Visual Studio Code provides a rich debugging experience. See the
130130
more information.
131131

132132
The Swift extension relies on the
133-
[Code-LLDB extension](https://github.com/vadimcn/vscode-lldb) to enable
133+
[LLDB DAP extension](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap) to enable
134134
debugging support.
135135

136-
<div class="warning" markdown="1">
137-
The Swift extension will prompt you to configure settings for LLDB the first
138-
time you launch VS Code. You will need to either apply the configuration
139-
globally (user settings) or to your workspace (workspace settings) for the
140-
debugger to work properly.
141-
142-
![Configure the Debugger](/assets/images/getting-started-with-vscode-swift/debugging/configure-lldb.png)
143-
144-
</div>
145-
146136
By default, the extension creates a launch configuration for each executable
147137
target in your Swift package. You may configure these yourself by adding a
148138
`launch.json` file to the root folder of your project. For example, this

0 commit comments

Comments
 (0)