Skip to content

Commit 6f48d86

Browse files
committed
1.add static variable support
1 parent 7196ed1 commit 6f48d86

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
@@ -12,6 +12,7 @@ Versioning].
1212

1313
### Added
1414

15+
- add static variable support ([@henryriley0])
1516
- fix gdb check error when debug beginning ([@henryriley0])
1617
- fix implicitly type error in log message when build vsix ([@henryriley0])
1718
- 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
@@ -197,6 +197,7 @@ export function expandValue(variableCreate: (arg: VariableObject | string, optio
197197

198198
parseResult = (pushToStack: boolean = false) => {
199199
value = value.trim();
200+
value = value.replace(/^static /, "");
200201
const variableMatch = resultRegex.exec(value);
201202
if (!variableMatch)
202203
return undefined;

0 commit comments

Comments
 (0)