Skip to content

Commit b6c6562

Browse files
committed
Use cppdbg in the ALS dev environment
1 parent 9e70dde commit b6c6562

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.vscode/launch.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,24 @@
44
"version": "0.2.0",
55
"configurations": [
66
{
7-
"type": "gdb",
7+
"name": "(gdb) Attach",
8+
"type": "cppdbg",
89
"request": "attach",
9-
"name": "Attach to PID",
10-
"target": "${input:pid}",
11-
"cwd": "${workspaceRoot}",
12-
"valuesFormatting": "parseText"
10+
"program": "${workspaceFolder}/integration/vscode/ada/x64/linux/ada_language_server",
11+
"processId": "${command:pickProcess}",
12+
"MIMode": "gdb",
13+
"setupCommands": [
14+
{
15+
"description": "Enable pretty-printing for gdb",
16+
"text": "-enable-pretty-printing",
17+
"ignoreFailures": true
18+
},
19+
{
20+
"description": "Set Disassembly Flavor to Intel",
21+
"text": "-gdb-set disassembly-flavor intel",
22+
"ignoreFailures": true
23+
}
24+
]
1325
},
1426
{
1527
"type": "gdb",

0 commit comments

Comments
 (0)