Skip to content

Commit

Permalink
1、solve the problem of failed parsing of STL containers
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryRiley0 committed Jul 22, 2024
1 parent f204573 commit 971cdd2
Showing 1 changed file with 5 additions and 0 deletions.
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 + 1).trim();
return parseValue();
}
else
return parsePrimitive();
};
Expand Down

0 comments on commit 971cdd2

Please sign in to comment.