|
4 | 4 | "version": "0.2.0",
|
5 | 5 | "configurations": [
|
6 | 6 | {
|
7 |
| - "name": "(gdb) Attach", |
8 |
| - "type": "cppdbg", |
9 |
| - "request": "attach", |
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 |
| - ] |
25 |
| - }, |
26 |
| - { |
27 |
| - "type": "gdb", |
28 |
| - "request": "launch", |
29 |
| - "name": "Launch Program", |
30 |
| - "target": ".obj/server/ada_language_server", |
31 |
| - "cwd": "${workspaceRoot}", |
32 |
| - "valuesFormatting": "parseText" |
33 |
| - }, |
34 |
| - { |
35 |
| - "name": "Launch Extension", |
| 7 | + "name": "(vscode) Launch vscode with the Ada extension", |
36 | 8 | "type": "extensionHost",
|
37 | 9 | "request": "launch",
|
38 | 10 | "runtimeExecutable": "${execPath}",
|
|
67 | 39 | }
|
68 | 40 | },
|
69 | 41 | {
|
70 |
| - "name": "Launch Extension Testsuite", |
71 |
| - "type": "node", |
72 |
| - "request": "launch", |
73 |
| - "cwd": "${workspaceFolder}/integration/vscode/ada/", |
74 |
| - "runtimeExecutable": "npm", |
75 |
| - "runtimeArgs": ["run-script", "test"] |
76 |
| - }, |
77 |
| - { |
78 |
| - "name": "General Testsuite", |
| 42 | + "name": "(vscode) Run testsuite 'general'", |
79 | 43 | "type": "extensionHost",
|
80 | 44 | "request": "launch",
|
81 | 45 | "runtimeExecutable": "${execPath}",
|
|
109 | 73 | "internalConsoleOptions": "openOnSessionStart"
|
110 | 74 | },
|
111 | 75 | {
|
112 |
| - "name": "GNATtest Integration Testsuite", |
| 76 | + "name": "(vscode) Run testsuite 'gnattest'", |
113 | 77 | "type": "extensionHost",
|
114 | 78 | "request": "launch",
|
115 | 79 | "runtimeExecutable": "${execPath}",
|
|
142 | 106 | "preLaunchTask": "npm: pretest",
|
143 | 107 | // Switch to Debug Console to see test results
|
144 | 108 | "internalConsoleOptions": "openOnSessionStart"
|
| 109 | + }, |
| 110 | + { |
| 111 | + "name": "(npm) Launch all vscode tests with npm", |
| 112 | + "type": "node", |
| 113 | + "request": "launch", |
| 114 | + "cwd": "${workspaceFolder}/integration/vscode/ada/", |
| 115 | + "runtimeExecutable": "npm", |
| 116 | + "runtimeArgs": ["run-script", "test"] |
| 117 | + }, |
| 118 | + { |
| 119 | + "name": "(gdb) Attach", |
| 120 | + "type": "cppdbg", |
| 121 | + "request": "attach", |
| 122 | + "program": "${workspaceFolder}/integration/vscode/ada/x64/linux/ada_language_server", |
| 123 | + "processId": "${command:pickProcess}", |
| 124 | + "MIMode": "gdb", |
| 125 | + "setupCommands": [ |
| 126 | + { |
| 127 | + "description": "Enable pretty-printing for gdb", |
| 128 | + "text": "-enable-pretty-printing", |
| 129 | + "ignoreFailures": true |
| 130 | + }, |
| 131 | + { |
| 132 | + "description": "Set Disassembly Flavor to Intel", |
| 133 | + "text": "-gdb-set disassembly-flavor intel", |
| 134 | + "ignoreFailures": true |
| 135 | + } |
| 136 | + ] |
145 | 137 | }
|
146 | 138 | ],
|
147 | 139 | "inputs": [
|
|
0 commit comments