diff --git a/package-lock.json b/package-lock.json index 68d7bce7..b0b94fcd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "debug", - "version": "0.27.0", + "version": "0.27.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "debug", - "version": "0.27.0", + "version": "0.27.1", "license": "public domain", "dependencies": { "ssh2": "^1.6.0", @@ -30,7 +30,7 @@ "nyc": "^15.1.0", "prettier": "^2.6.2", "ts-node": "^10.8.0", - "typescript": "^3.9.3" + "typescript": "^4.3.2" }, "engines": { "vscode": "^1.55.0" @@ -5343,9 +5343,9 @@ } }, "node_modules/typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz", + "integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -9643,9 +9643,9 @@ } }, "typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz", + "integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==", "dev": true }, "uc.micro": { diff --git a/package.json b/package.json index 70e6f0b4..a57ce891 100644 --- a/package.json +++ b/package.json @@ -1125,7 +1125,7 @@ "nyc": "^15.1.0", "prettier": "^2.6.2", "ts-node": "^10.8.0", - "typescript": "^3.9.3" + "typescript": "^4.3.2" }, "__metadata": { "id": "2fd22b8e-b3b8-4e7f-9a28-a5e2d1bdd0d4", diff --git a/src/backend/mi2/mi2.ts b/src/backend/mi2/mi2.ts index 9980557a..3d9a4459 100644 --- a/src/backend/mi2/mi2.ts +++ b/src/backend/mi2/mi2.ts @@ -410,10 +410,10 @@ export class MI2 extends EventEmitter implements IBackend { this.log("stderr", "Program exited with code " + parsed.record("exit-code")); this.emit("exited-normally", parsed); break; - // case "exited-signalled": // consider handling that explicit possible - // this.log("stderr", "Program exited because of signal " + parsed.record("signal")); - // this.emit("stopped", parsed); - // break; + // case "exited-signalled": // consider handling that explicit possible + // this.log("stderr", "Program exited because of signal " + parsed.record("signal")); + // this.emit("stopped", parsed); + // break; default: this.log("console", "Not implemented stop reason (assuming exception): " + reason); diff --git a/src/mibase.ts b/src/mibase.ts index 159574bf..278acce5 100644 --- a/src/mibase.ts +++ b/src/mibase.ts @@ -285,7 +285,6 @@ export class MI2DebugSession extends DebugSession { this.sendResponse(response); }).catch((error: MIError) => { if (error.message === 'Selected thread is running.') { - console.error(error.message); this.sendResponse(response); return; }