-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit 8e0d97b
Add test coverage for overriding debug configuration via debug_custom.json
Some of the data from the `arduino-cli debug --info` output does not match exactly with the launch.json format required
by the IDE's debugger. For this reason, some remapping of the data is required.
The user can adjust the debugger configuration via a debug_custom.json file in the sketch project. The data from this
file is merged into the base data provided by `arduino-cli debug --info`. It is essential that the data from
debug_custom.json overrides the base data where there is overlap, yet previously there was no test coverage for this.
Since the merging code gives special handling to the remapped Arduino CLI data, it is especially important to provide
good coverage for overriding that data.1 parent 7c8bfac commit 8e0d97b
1 file changed
+26
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 | - | ||
148 | - | ||
147 | + | ||
148 | + | ||
149 | + | ||
150 | + | ||
151 | + | ||
152 | + | ||
153 | + | ||
154 | + | ||
155 | + | ||
156 | + | ||
157 | + | ||
158 | + | ||
159 | + | ||
160 | + | ||
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | ||
166 | + | ||
167 | + | ||
149 | 168 |
| |
150 | 169 |
| |
151 | 170 |
| |
| |||
154 | 173 |
| |
155 | 174 |
| |
156 | 175 |
| |
176 | + | ||
177 | + | ||
178 | + | ||
179 | + | ||
180 | + | ||
157 | 181 |
| |
158 | 182 |
| |
159 | 183 |
| |
|
0 commit comments