Skip to content

Commit 056c03f

Browse files
committed
1.6.11-pre4
1 parent ed4a34d commit 056c03f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.6.11-pre3",
2+
"version": "1.6.11-pre4",
33
"preview": false,
44
"activationEvents": [
55
"onDebugResolve:cortex-debug",

src/gdb.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3209,7 +3209,7 @@ export class GDBDebugSession extends LoggingDebugSession {
32093209
try {
32103210
const changes = await this.miDebugger.varUpdate(varObjName, threadId, frameId);
32113211
const changelist = changes.result('changelist');
3212-
changelist.forEach(async (change) => {
3212+
for (const change of changelist || []) {
32133213
const inScope = MINode.valueOf(change, 'in_scope');
32143214
if (inScope === 'true') {
32153215
const name = MINode.valueOf(change, 'name');
@@ -3220,12 +3220,12 @@ export class GDBDebugSession extends LoggingDebugSession {
32203220
const msg = `${exp} currently not in scope`;
32213221
await this.miDebugger.sendCommand(`var-delete ${varObjName}`);
32223222
if (this.args.showDevDebugOutput) {
3223-
this.handleMsg('log', `Expression ${msg}. Will try again`);
3223+
this.handleMsg('log', `Expression ${msg}. Will try to create again\n`);
32243224
}
32253225
outOfScope = true;
32263226
throw new Error(msg);
32273227
}
3228-
});
3228+
}
32293229
const varId = this.variableHandlesReverse[varObjName];
32303230
varObj = this.variableHandles.get(varId) as any;
32313231
}

0 commit comments

Comments
 (0)