diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a467f9a..256d1e69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ChangeLog +# V0.4.1 +Minor bug fix. The `launch.json` option `clearSearch` was not working for `rttConfig`. Only affected OpenOCD users. # V0.4.0 This is a major release with a lot of changes and many new features. The `TERMINAL` area of VSCode is utilized a lot to enable bidirectional communication with the firmware. It is used for RTT, SWO and Semi-hosting. diff --git a/package-lock.json b/package-lock.json index 5b26cf2b..55d964a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,12 @@ { "name": "cortex-debug", - "version": "0.4.0", + "version": "0.4.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "0.4.0", + "name": "cortex-debug", + "version": "0.4.1", "dependencies": { "binary-parser": "^1.7.0", "bindings": "^1.5.0", diff --git a/package.json b/package.json index 8483757a..a9a4eb2b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.3.13", + "version": "0.4.1", "activationEvents": [ "onDebugResolve:cortex-debug" ], @@ -2119,6 +2119,5 @@ "watch": "webpack --mode development --watch", "compile": "webpack --mode development", "test-compile": "tsc -p ./" - }, - "version": "0.4.0" + } } diff --git a/src/gdb.ts b/src/gdb.ts index 58bf4161..0bdbb982 100644 --- a/src/gdb.ts +++ b/src/gdb.ts @@ -197,7 +197,7 @@ export class GDBDebugSession extends DebugSession { this.args.rttConfig.address = '0x' + rttSym.address.toString(16); this.args.rttConfig.searchSize = Math.max(this.args.rttConfig.searchSize || 0, searchStr.length); this.args.rttConfig.searchId = searchStr; - this.args.rttConfig.clearSearch = true; + this.args.rttConfig.clearSearch = (this.args.rttConfig.clearSearch === undefined) ? true : this.args.rttConfig.clearSearch; } }