18 Commits

Author SHA1 Message Date
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
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
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
Christian Weichel
ea5f528ef0 Actual debugging works 2020-02-13 10:15:12 +01:00
Christian Weichel
3d6d2ce814 Ran first debugging session 2020-02-13 10:15:12 +01:00