From 27e7780183c4d8b06de8ab5b9c60a2aded8cff44 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 19 Oct 2018 21:20:25 +0300 Subject: [PATCH 1/4] Shutdown gracefully debugging server on "Stop" command --- CHANGELOG.md | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc6661e..a5a91a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Release Notes +## 1.4.2 (2018-10-??) + +* [PIO Unified Debugger](http://docs.platformio.org/page/plus/debugging.html): + * Shutdown gracefully debugging server on "Stop" command + ## 1.4.1 (2018-10-19) * [PIO Unified Debugger](http://docs.platformio.org/page/plus/debugging.html): diff --git a/package.json b/package.json index 87736bf..1a4c33d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platformio-ide", - "version": "1.4.1", + "version": "1.4.2-beta.1", "publisher": "platformio", "engines": { "vscode": "^1.24.0" @@ -590,7 +590,7 @@ "dependencies": { "fs-plus": "^3.0.0", "platformio-node-helpers": "^3.2.0", - "platformio-vscode-debug": "^1.2.4" + "platformio-vscode-debug": "^1.2.5" }, "extensionDependencies": [ "ms-vscode.cpptools" From 2ff5c2e2e4a678acf4de07e3d55df159a68cbb4a Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 26 Oct 2018 15:29:08 +0300 Subject: [PATCH 2/4] Integrate with Sentry --- package.json | 1 + src/utils.js | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/package.json b/package.json index 1a4c33d..d7583fc 100644 --- a/package.json +++ b/package.json @@ -588,6 +588,7 @@ "vscode": "^1.1.1" }, "dependencies": { + "@sentry/node": "^4.2.3", "fs-plus": "^3.0.0", "platformio-node-helpers": "^3.2.0", "platformio-vscode-debug": "^1.2.5" diff --git a/src/utils.js b/src/utils.js index d074653..9dd142a 100644 --- a/src/utils.js +++ b/src/utils.js @@ -6,6 +6,7 @@ * the root directory of this source tree. */ +import * as Sentry from '@sentry/node'; import * as pioNodeHelpers from 'platformio-node-helpers'; import os from 'os'; @@ -13,6 +14,7 @@ import vscode from 'vscode'; export async function notifyError(title, err) { + this.notifySentry(err); const description = err.stack || err.toString(); const action = 'Report a problem'; const selected = await vscode.window.showErrorMessage(description, action); @@ -39,6 +41,19 @@ ${description} console.error(err); } +export function notifySentry(err) { + Sentry.init({ + dsn: 'https://a7427d8e4f2446ddac3a3faea476e6e8@sentry.io/1309812', + release: getIDEVersion(), + serverName: `${os.type()}, ${os.release()}, ${os.arch()}` + + }); + Sentry.configureScope((scope) => { + scope.setTag('vscode', vscode.version); + }); + Sentry.captureException(err); +} + export function getIDEManifest() { return vscode.extensions.getExtension('platformio.platformio-ide').packageJSON; } From ebf79b996fe8788ccd9a145347886b7c17f0e680 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 26 Oct 2018 15:29:23 +0300 Subject: [PATCH 3/4] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5a91a3..d18b38f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * [PIO Unified Debugger](http://docs.platformio.org/page/plus/debugging.html): * Shutdown gracefully debugging server on "Stop" command +* Fixed "ImportError: DLL load failed" ## 1.4.1 (2018-10-19) From d0b2b2db84aa2529f5284852602cd83df0e3a26b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 26 Oct 2018 15:30:36 +0300 Subject: [PATCH 4/4] Bump version to 1.4.2 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d18b38f..1c3af2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Release Notes -## 1.4.2 (2018-10-??) +## 1.4.2 (2018-10-26) * [PIO Unified Debugger](http://docs.platformio.org/page/plus/debugging.html): * Shutdown gracefully debugging server on "Stop" command diff --git a/package.json b/package.json index d7583fc..dcb116d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platformio-ide", - "version": "1.4.2-beta.1", + "version": "1.4.2", "publisher": "platformio", "engines": { "vscode": "^1.24.0"