Skip to content

Commit

Permalink
Fix: Variables Evaluate is NOT Working for Struct Pointer of Function…
Browse files Browse the repository at this point in the history
… Variable WebFreak001#413
  • Loading branch information
FANG.Ge committed Mar 2, 2024
1 parent 9fb2875 commit 48f0ccf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/mibase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,15 @@ export class MI2DebugSession extends DebugSession {
variablesReference: 0
});
addOne();
} else if (expanded instanceof Array) {
expanded.forEach(x => {
strArr.push({
name: x.name,
value: x.value,
variablesReference: 0
});
});
submit();
} else {
strArr.push({
name: "[err]",
Expand Down

0 comments on commit 48f0ccf

Please sign in to comment.