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 @@ -1572,7 +1572,7 @@ Currently tested with the following debug adapters.
15721572## C, C++, Rust, etc.
15731573
15741574* [ vscode-cpptools] ( https://github.com/Microsoft/vscode-cpptools )
1575- * On macOS, I * strongly* recommend using [ CodeLLDB] ( #rust ) instead for C and C++
1575+ * I * strongly* recommend using [ CodeLLDB] ( #rust ) over cpptools for almost all
15761576projects. It's really excellent, has fewer dependencies and doesn't open console
15771577apps in another Terminal window.
15781578
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+ "LLVM" : {
151+ "shell" : " brew --prefix llvm"
152+ }
153+ },
154+ "command" : [
155+ " ${LLVM}/bin/lldb-dap"
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