Skip to content

Commit 0e2d967

Browse files
DavidSpickettstuij
authored andcommitted
Rename lldb-vscode to lldb-dap in Debugging doc
It was renamed to better signal that it is generic, not just for VS Code. llvm/llvm-project#69264 Also when I ported some of these instructions back to LLVM, reviewers suggested I use the "attach" mode instead. https://github.com/llvm/llvm-project/tree/main/lldb/tools/lldb-dap#connect-to-a-debug-server-on-the-current-machine So I've done that too. For our purposes it's the same effect, but technically we are attaching not launching.
1 parent 045375a commit 0e2d967

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/Debugging.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ This plugin comes with an LLDB build that supports many architectures including
8080
Arm and is the option most people should choose.
8181

8282
If you are developing the toolchain itself and making changes to LLDB, you can
83-
manually install the `lldb-vscode` plugin by following the instructions
84-
[here](https://github.com/llvm/llvm-project/tree/main/lldb/tools/lldb-vscode#installation-for-visual-studio-code). Using the `lldb-vscode` binary
83+
manually install the `lldb-dap` plugin by following the instructions
84+
[here](https://github.com/llvm/llvm-project/tree/main/lldb/tools/lldb-dap#installation-for-visual-studio-code). Using the `lldb-dap` binary
8585
from this toolchain.
8686

8787
I will talk about both plugins here as they share a lot of the same
@@ -150,13 +150,13 @@ This is the content of `launch.json`:
150150
"postDebugTask": "stop-mgba"
151151
},
152152
{
153-
"name": "mgba-lldb-vscode",
154-
"type": "lldb-vscode",
155-
"request": "launch",
153+
"name": "mgba-lldb-dap",
154+
"type": "lldb-dap",
155+
"request": "attach",
156156
"program": "${workspaceFolder}/test.elf",
157157
"preLaunchTask": "run-mgba",
158158
"stopOnEntry": true,
159-
"launchCommands": ["gdb-remote 2345"],
159+
"attachCommands": ["gdb-remote 2345"],
160160
"postDebugTask": "stop-mgba"
161161
}
162162
]
@@ -182,4 +182,4 @@ name given to the interrupt signal you the user just sent.
182182
# References
183183

184184
* [CodeLLDB user manual](https://github.com/vadimcn/codelldb/blob/master/MANUAL.md)
185-
* [lldb-vscode](https://github.com/llvm/llvm-project/tree/main/lldb/tools/lldb-vscode)
185+
* [lldb-dap](https://github.com/llvm/llvm-project/tree/main/lldb/tools/lldb-dap)

0 commit comments

Comments
 (0)