Skip to content

Commit

Permalink
1. solve the problem of failed parsing of containers
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryRiley0 committed Aug 23, 2024
1 parent 7196ed1 commit 330069b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Versioning].

### Added

- solve the problem of failed parsing of containers ([@henryriley0])
- fix gdb check error when debug beginning ([@henryriley0])
- fix implicitly type error in log message when build vsix ([@henryriley0])
- check for configured debugger before start to provide a nicer error message
Expand Down
5 changes: 5 additions & 0 deletions src/backend/gdb_expansion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ export function expandValue(variableCreate: (arg: VariableObject | string, optio
return parseCString();
else if (value[0] == '{')
return parseTupleOrList();
else if(value.startsWith("std::")){
const eqPos = value.indexOf("=");
value = value.substring(eqPos + 2);
return parseValue();
}
else
return parsePrimitive();
};
Expand Down

0 comments on commit 330069b

Please sign in to comment.