Skip to content

Commit 6763d5b

Browse files
committed
vscode: Add gdb-dap launch
1 parent 0d72a02 commit 6763d5b

1 file changed

Lines changed: 7 additions & 37 deletions

File tree

code.code-workspace

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -64,33 +64,22 @@
6464
"version": "0.2.0",
6565
"configurations": [
6666
{
67-
"name": "Current Target (LLDB)",
68-
"type": "lldb",
67+
"name": "Current Target (kdap)",
68+
"type": "kdap",
6969
"request": "launch",
7070
"program": "${command:cmake.launchTargetPath}",
71-
"args": [
72-
"tst_affinityWithPersistentCentralGroup"
73-
],
71+
"args": [],
7472
"cwd": "${command:cmake.buildDirectory}",
7573
"env": {}
7674
},
7775
{
78-
"name": "Current Target (GDB)",
79-
"type": "cppdbg",
76+
"name": "Current Target (LLDB)",
77+
"type": "lldb",
8078
"request": "launch",
8179
"program": "${command:cmake.launchTargetPath}",
82-
"args": [
83-
"tst_affinityWithPersistentCentralGroup"
84-
],
80+
"args": [],
8581
"cwd": "${command:cmake.buildDirectory}",
86-
"MIMode": "gdb",
87-
"setupCommands": [
88-
{
89-
"description": "Enable pretty-printing for gdb",
90-
"text": "-enable-pretty-printing",
91-
"ignoreFailures": true
92-
}
93-
]
82+
"env": {}
9483
},
9584
{
9685
"name": "Example via Wayland",
@@ -121,25 +110,6 @@
121110
"C:/Users/qt/work/install": "${QTDIR}/../Src",
122111
"C:/Users/qt/work/qt": "${QTDIR}/../Src"
123112
}
124-
},
125-
{
126-
"name": "Current Target (GDB Linux)",
127-
"type": "cppdbg",
128-
"request": "launch",
129-
"program": "${command:cmake.launchTargetPath}",
130-
"args": [],
131-
"stopAtEntry": false,
132-
"cwd": "${command:cmake.buildDirectory}",
133-
"environment": [],
134-
"externalConsole": false,
135-
"MIMode": "gdb",
136-
"setupCommands": [
137-
{
138-
"description": "Enable pretty-printing for gdb",
139-
"text": "-enable-pretty-printing",
140-
"ignoreFailures": true
141-
}
142-
]
143113
}
144114
]
145115
},

0 commit comments

Comments
 (0)