Skip to content

Commit 330069b

Browse files
committed
1. solve the problem of failed parsing of containers
1 parent 7196ed1 commit 330069b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Versioning].
1212

1313
### Added
1414

15+
- solve the problem of failed parsing of containers ([@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

+5
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ export function expandValue(variableCreate: (arg: VariableObject | string, optio
191191
return parseCString();
192192
else if (value[0] == '{')
193193
return parseTupleOrList();
194+
else if(value.startsWith("std::")){
195+
const eqPos = value.indexOf("=");
196+
value = value.substring(eqPos + 2);
197+
return parseValue();
198+
}
194199
else
195200
return parsePrimitive();
196201
};

0 commit comments

Comments
 (0)