File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
tests/testdata/cpp/simple Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -1573,7 +1573,7 @@ Currently tested with the following debug adapters.
15731573## C, C++, Rust, etc.
15741574
15751575* [ vscode-cpptools] ( https://github.com/Microsoft/vscode-cpptools )
1576- * On macOS, I * strongly* recommend using [ CodeLLDB] ( #rust ) instead for C and C++
1576+ * I * strongly* recommend using [ CodeLLDB] ( #rust ) over cpptools for almost all
15771577projects. It's really excellent, has fewer dependencies and doesn't open console
15781578apps in another Terminal window.
15791579
Original file line number Diff line number Diff line change 7676 "MIMode" : " lldb"
7777 }
7878 },
79+ "lldb-dap" : {
80+ "adapter" : " lldb-dap" ,
81+ "configuration" : {
82+ "request" : " launch" ,
83+ "program" : " ${workspaceRoot}/${fileBasenameNoExtension}" ,
84+ "args" : [
85+ " A" , " eh" ,
86+ " B" , " bee" ,
87+ " C" , " Sea" ,
88+ " D" , " Ceedy"
89+ ],
90+ "stopOnEntry" : true ,
91+ "runInTerminal" : true ,
92+ "cwd" : " ${workspaceRoot}"
93+ }
94+ },
7995 "CodeLLDB" : {
8096 "adapter" : " CodeLLDB" ,
8197 // "adapter": {
129145 },
130146 "name" : " lldb"
131147 },
148+ "lldb-dap" : {
149+ "variables" : {
150+ "lldbdap" : {
151+ "shell" : " xcrun -f lldb-dap"
152+ }
153+ },
154+ "command" : [
155+ " ${lldbdap}"
156+ ],
157+ "name" : " lldb"
158+ },
132159 "CodeLLDB-localbuild" : {
133160 "extends" : " CodeLLDB" ,
134161 "command" : [
You can’t perform that action at this time.
0 commit comments