Skip to content

Commit 68ff6ac

Browse files
Christian Weichelspoenemann
Christian Weichel
authored andcommitted
[electron] Added debugger to Electron build
1 parent 76f126b commit 68ff6ac

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

arduino-debugger-extension/src/browser/arduino-variable-resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class ArduinoVariableResolver implements VariableContribution {
8383
toolLocations[t.name] = t.locations!;
8484
})
8585

86-
switch(argument) {
86+
switch (argument) {
8787
case "openocd":
8888
return toolLocations["openocd"].main;
8989
case "openocd-scripts":

arduino-ide-extension/src/node/boards-service-impl.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,10 @@ export class BoardsServiceImpl implements BoardsService {
272272
case "openocd":
273273
loc.scripts = path.join(loc.main, "share", "openocd", "scripts");
274274
loc.main = path.join(loc.main, "bin", "openocd");
275-
break
275+
break;
276276
case "arm-none-eabi-gcc":
277277
["gdb", "objdump"].forEach(s => loc[s] = path.join(loc.main, "bin", `arm-none-eabi-${s}`));
278+
break;
278279
}
279280

280281
return loc;

electron-app/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"dependencies": {
77
"@theia/core": "next",
88
"@theia/cpp": "next",
9+
"@theia/debug": "next",
910
"@theia/editor": "next",
1011
"@theia/electron": "next",
1112
"@theia/file-search": "next",
@@ -19,7 +20,8 @@
1920
"@theia/terminal": "next",
2021
"@theia/workspace": "next",
2122
"@theia/textmate-grammars": "next",
22-
"arduino-ide-extension": "0.0.4"
23+
"arduino-ide-extension": "0.0.2",
24+
"arduino-debugger-extension": "0.0.2"
2325
},
2426
"devDependencies": {
2527
"@theia/cli": "next"

0 commit comments

Comments
 (0)