1192 Commits

Author SHA1 Message Date
Akos Kitta
c7bf98dfa3
Merge pull request #106 from bcmi-labs/issue192
Fixed Open... dialog
2020-03-27 11:18:07 +01:00
Miro Spönemann
b2d53b1a35 #192: Fixed Open... dialog 2020-03-26 09:39:18 +01:00
Akos Kitta
a9bbf47a59
Merge pull request #107 from bcmi-labs/arduino/arduino-pro-ide#212
Wait when opening all files from a sketch folder.
2020-03-17 16:33:12 +01:00
Akos Kitta
3974f2d8a1
Merge pull request #105 from sbhklr/new-icons
Add new app icons
2020-03-12 21:03:06 +01:00
Akos Kitta
2a2238bb82 Wait when opening all files from a sketch folder.
This commit is a temporary workaround for eclipse-theia/theia#6298.

Closes arduino/arduino-pro-ide#212.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-03-12 14:57:38 +01:00
Sebastian Hunkeler
44504ab916 Add new app icons 2020-03-05 00:33:08 +01:00
Miro Spönemann
8cf019bc07 Updated CLI to v0.9.0 v0.0.5 2020-02-26 18:17:37 +01:00
Miro Spönemann
ad4928957e Increased version number to 0.0.5 2020-02-26 17:32:30 +01:00
Roberto Sora
6f6f620ec9
Merge pull request #100 from bcmi-labs/debugger-cli
Debugger implementation based on arduino-cli debug command
2020-02-26 16:46:38 +01:00
Miro Spönemann
b055bd9e41 Workaround for Windows: We cannot use SIGINT to interrupt gdb, so kill the process on disconnect 2020-02-26 16:12:02 +01:00
Miro Spönemann
a6cef7c605 Detect even more error cases 2020-02-26 13:55:12 +01:00
Miro Spönemann
d56962251e Fixed: Commands that are registered to toolbar did not show up in Electron menu 2020-02-26 10:55:03 +01:00
Miro Spönemann
69c7383da8 Update Electron main menu when a toggle button is switched 2020-02-26 09:43:32 +01:00
Miro Spönemann
f6a8dceabc Improved error detection to catch more cases 2020-02-25 15:43:21 +01:00
Miro Spönemann
3ed72de810 Detect errors in spawned process 2020-02-25 14:08:08 +01:00
Miro Spönemann
2d9fa5615b Removed some unused stuff 2020-02-24 15:50:46 +01:00
Miro Spönemann
24bd23b669 arduino/arduino-pro-ide#188: Open Boards and Library manager on first start 2020-02-24 15:27:20 +01:00
Miro Spönemann
1bc996d8d8 Updated to CLI version 0.9.0-rc2 2020-02-24 15:26:35 +01:00
Miro Spönemann
beb529cf15 Removed unused CMSIS code 2020-02-24 15:05:09 +01:00
Miro Spönemann
a72533b208 Added basic support for global and static variables 2020-02-24 14:33:51 +01:00
Miro Spönemann
acf7b6a8da Removed workaround 2020-02-24 10:37:17 +01:00
Miro Spönemann
0445700088 Added 'optimize for debug' option 2020-02-24 10:35:36 +01:00
Miro Spönemann
486f110c80 Added initial commands 2020-02-20 16:53:50 +01:00
Miro Spönemann
a427cf94f1 Created new debug adapter that uses the arduino-cli debug command 2020-02-20 11:39:59 +01:00
Miro Spönemann
bd6a6382f6 Removed C/C++ config with hard-coded paths 2020-02-13 10:19:33 +01:00
Miro Spönemann
887682b9c3 Updated yarn.lock 2020-02-13 10:19:33 +01:00
jbicker
4c63af572e Added debug button to toolbar.
Signed-off-by: jbicker <jan.bicker@typefox.io>
2020-02-13 10:15:12 +01:00
jbicker
40ddd3714b Added signal handlers to kill gdb server.
Signed-off-by: jbicker <jan.bicker@typefox.io>
2020-02-13 10:15:12 +01:00
Miro Spönemann
2855026cec [debugger] Don't allow running more than one debug session 2020-02-13 10:15:12 +01:00
Miro Spönemann
879d5c7cc9 Fixed compile error 2020-02-13 10:15:12 +01:00
Miro Spönemann
8c3fab824f [debugger] Resolve URIs through FileSystem 2020-02-13 10:15:12 +01:00
Miro Spönemann
0f35821d14 Reuse spawnCommand util for more robust command execution 2020-02-13 10:15:12 +01:00
Miro Spönemann
fb50244a29 [debugger] Kill the gdb server on debug adapter process exit 2020-02-13 10:15:12 +01:00
Miro Spönemann
8a78e09c6d Improved error message when spawning commands fails with stderr output 2020-02-13 10:15:12 +01:00
Miro Spönemann
fe3cc1904c Don't use EventEmitter method 'off' introduced in NodeJS 10 (arduino/arduino-pro-ide#182) 2020-02-13 10:15:12 +01:00
Miro Spönemann
828379cdc9 Don't send 'terminated' on 'disconnect' (arduino/arduino-pro-ide#183) 2020-02-13 10:15:12 +01:00
jbicker
576f96a502 Validate workspace/current editor and open file on debug start
Tests whether the current workspace is a sketchfolder and
opens the respective ino file
or whether  the current editor is a ino file.

Signed-off-by: jbicker <jan.bicker@typefox.io>
2020-02-13 10:15:12 +01:00
Miro Spönemann
2ba95947de [debug] Shut down previous session properly before starting a new one 2020-02-13 10:15:12 +01:00
Miro Spönemann
68db44fa49 [debugger] Convert URIs to paths 2020-02-13 10:15:12 +01:00
Miro Spönemann
36ac97d95d Improved creation of default debug configurations 2020-02-13 10:15:12 +01:00
Miro Spönemann
a886a106f5 Improved variable resolution and error handling 2020-02-13 10:15:12 +01:00
Miro Spönemann
1441b685ee Improved error reporting on launch 2020-02-13 10:15:12 +01:00
Miro Spönemann
38ab95973e Updated code to current version 2020-02-13 10:15:12 +01:00
Miro Spönemann
2ffca88c02 Updated versions and yarn.lock 2020-02-13 10:15:12 +01:00
Akos Kitta
2b7bceada0 Updated the packager, included the debug extension
Note, I did not check in `/electron/packager/yarn.lock`.
It should be checked in, see the `master`.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-02-13 10:15:12 +01:00
Christian Weichel
5baf43bf25 Integrate with classic mode and start debugging immediately 2020-02-13 10:15:12 +01:00
Christian Weichel
68ff6acb6a [electron] Added debugger to Electron build 2020-02-13 10:15:12 +01:00
Christian Weichel
76f126b913 Make openocd stop properly 2020-02-13 10:15:12 +01:00
Christian Weichel
ec18cf0dc1 Cleanup 2020-02-13 10:15:12 +01:00
Christian Weichel
8aa356bd6e Automated debug config setup 2020-02-13 10:15:12 +01:00