|
33 | 33 | "args": ["${file}", "--show"], |
34 | 34 | "console": "integratedTerminal" |
35 | 35 | }, |
36 | | - { |
37 | | - "name": "Motor Test EV3", |
38 | | - "type": "python", |
39 | | - "request": "launch", |
40 | | - "program": "${workspaceFolder}/tests/motors/run_test.py", |
41 | | - "args": ["${file}", "--target", "ev3dev", "--address", "192.168.133.244", "--show"], |
42 | | - "console": "integratedTerminal" |
43 | | - }, |
44 | 36 | { |
45 | 37 | "name": "Run via USB REPL", |
46 | 38 | "type": "python", |
|
61 | 53 | "args": [], |
62 | 54 | "console": "integratedTerminal" |
63 | 55 | }, |
64 | | - { |
65 | | - "name": "ev3dev-test", |
66 | | - "type": "cppdbg", |
67 | | - "request": "launch", |
68 | | - "cwd": "${workspaceFolder}/micropython/tests", |
69 | | - "program": "${workspaceFolder}/bricks/ev3dev/build-test/pybricks-micropython", |
70 | | - "args": [ |
71 | | - "../../tests/ev3dev/brick/battery.py" |
72 | | - ], |
73 | | - "stopAtEntry": false, |
74 | | - "environment": [ |
75 | | - {"name": "GRX_PLUGIN_PATH", "value": "../../bricks/ev3dev/build-test"}, |
76 | | - {"name": "GRX_DRIVER", "value": "test"} |
77 | | - ], |
78 | | - "externalConsole": true, |
79 | | - "MIMode": "gdb", |
80 | | - "setupCommands": [ |
81 | | - { |
82 | | - "description": "Enable pretty-printing for gdb", |
83 | | - "text": "-enable-pretty-printing", |
84 | | - "ignoreFailures": true |
85 | | - }, |
86 | | - { |
87 | | - "description": "ignore SIGUSR1", |
88 | | - "text": "handle SIGUSR1 noprint pass" |
89 | | - }, |
90 | | - { |
91 | | - "description": "ignore SIGUSR2", |
92 | | - "text": "handle SIGUSR2 noprint pass" |
93 | | - }, |
94 | | - { |
95 | | - "description": "ignore SIGRT39", |
96 | | - "text": "handle SIGUSR2 noprint pass" |
97 | | - } |
98 | | - ], |
99 | | - "logging": { "engineLogging": true, "trace": true, "traceResponse": true }, |
100 | | - "preLaunchTask": "build ev3dev-test" |
101 | | - }, |
102 | 56 | { |
103 | 57 | "name": "virtualhub", |
104 | 58 | "type": "cppdbg", |
|
182 | 136 | "searchDir": [ |
183 | 137 | "${workspaceRoot}/bricks/debug" |
184 | 138 | ] |
185 | | - }, |
186 | | - { |
187 | | - "name": "(gdb) Attach", |
188 | | - "type": "cppdbg", |
189 | | - "request": "attach", |
190 | | - "program": "${workspaceFolder}/bricks/ev3dev/built-test/pybricks-micropython", |
191 | | - "processId": "${command:pickProcess}", |
192 | | - "MIMode": "gdb", |
193 | | - "setupCommands": [ |
194 | | - { |
195 | | - "description": "Enable pretty-printing for gdb", |
196 | | - "text": "-enable-pretty-printing", |
197 | | - "ignoreFailures": true |
198 | | - } |
199 | | - ] |
200 | 139 | } |
201 | 140 | ], |
202 | 141 | "inputs": [ |
|
0 commit comments