|
10 | 10 | "request": "attach",
|
11 | 11 | "pid": "${command:pickProcess}"
|
12 | 12 | },
|
| 13 | + { |
| 14 | + "name": "Run application (Darwin x64)", |
| 15 | + "type": "lldb", |
| 16 | + "request": "launch", |
| 17 | + "program": "${workspaceFolder}/out/${input:outAppDarwin}", |
| 18 | + "args": [], |
| 19 | + "cwd": "${workspaceFolder}" |
| 20 | + }, |
| 21 | + { |
| 22 | + "name": "Run application (Linux x64)", |
| 23 | + "type": "lldb", |
| 24 | + "request": "launch", |
| 25 | + "program": "${workspaceFolder}/out/${input:outAppLinux}", |
| 26 | + "args": [], |
| 27 | + "cwd": "${workspaceFolder}" |
| 28 | + }, |
13 | 29 | {
|
14 | 30 | "name": "QRCode Tests",
|
15 | 31 | "type": "cppdbg",
|
|
70 | 86 | }
|
71 | 87 | ]
|
72 | 88 | },
|
73 |
| - { |
74 |
| - "name": "LightingApp (Linux)", |
75 |
| - "type": "cppdbg", |
76 |
| - "request": "launch", |
77 |
| - "program": "${workspaceFolder}/out/lighting-app/chip-lighting-app", |
78 |
| - "args": [], |
79 |
| - "stopAtEntry": false, |
80 |
| - "cwd": "${workspaceFolder}", |
81 |
| - "environment": [], |
82 |
| - "externalConsole": false, |
83 |
| - "MIMode": "gdb", |
84 |
| - "preLaunchTask": "Build Lighting App (Linux)", |
85 |
| - "setupCommands": [ |
86 |
| - { |
87 |
| - "description": "Enable pretty-printing for gdb", |
88 |
| - "text": "-enable-pretty-printing", |
89 |
| - "ignoreFailures": true |
90 |
| - } |
91 |
| - ] |
92 |
| - }, |
93 | 89 | {
|
94 | 90 | "name": "LightingApp (Tizen) [remote]",
|
95 | 91 | "type": "cppdbg",
|
|
423 | 419 | }
|
424 | 420 | ],
|
425 | 421 | "inputs": [
|
| 422 | + { |
| 423 | + "type": "command", |
| 424 | + "id": "outAppDarwin", |
| 425 | + "command": "shellCommand.execute", |
| 426 | + "args": { |
| 427 | + "command": "find ${workspaceFolder}/out/darwin-x64-* -maxdepth 2 -perm +111 -name 'chip-*' |sort |sed 's$${workspaceFolder}/out/$$'", |
| 428 | + "description": "Select the application to run" |
| 429 | + } |
| 430 | + }, |
| 431 | + { |
| 432 | + "type": "command", |
| 433 | + "id": "outAppLinux", |
| 434 | + "command": "shellCommand.execute", |
| 435 | + "args": { |
| 436 | + "command": "find ${workspaceFolder}/out/linux-x64-* -maxdepth 2 -executable -name 'chip-*' |sort |sed 's$${workspaceFolder}/out/$$'", |
| 437 | + "description": "Select the application to run" |
| 438 | + } |
| 439 | + }, |
426 | 440 | {
|
427 | 441 | "type": "pickString",
|
428 | 442 | "id": "mbedDebugProfile",
|
|
0 commit comments