Skip to content

Commit 5571f3f

Browse files
authored
Merge branch 'master' into stl1
2 parents ece8d98 + b7ada8c commit 5571f3f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Versioning].
1313
### Added
1414

1515
- solve the problem of failed parsing of containers ([@henryriley0])
16+
- add static variable support ([@henryriley0])
1617
- fix gdb check error when debug beginning ([@henryriley0])
1718
- fix implicitly type error in log message when build vsix ([@henryriley0])
1819
- check for configured debugger before start to provide a nicer error message

src/backend/gdb_expansion.ts

+1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ export function expandValue(variableCreate: (arg: VariableObject | string, optio
202202

203203
parseResult = (pushToStack: boolean = false) => {
204204
value = value.trim();
205+
value = value.replace(/^static /, "");
205206
const variableMatch = resultRegex.exec(value);
206207
if (!variableMatch)
207208
return undefined;

0 commit comments

Comments
 (0)