microsoft / microsoft/vscode-cpptools
Expression failed to parse
Open
Nobody has claimed this yet.
debugger
more info needed
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Environment
- OS and version: macOS 12.3.1
- VS Code: 1.66.2
- C/C++ extension: ms-vscode.cpptools v1.10.0
- OS and version of remote machine (if applicable):
- GDB / LLDB version: lldb-1316.0.9.41
Bug Summary and Steps to Reproduce
Bug Summary:
- std::vector element can NOT be watched if none of vector elements is used.
- vector element can be watched if any vector element is used.
Steps to reproduce:
- build
- F5
- Do 'break point'
- add watch: eg.: v, v[0]


Debugger Configurations
None
Debugger Logs
None
Other Extensions
No response
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by reproducing the issue on macOS with LLDB using a std::vector and watch expressions v and v[0], then trace the C/C++ extension's expression handling. Done means vector elements can be watched when no vector element is otherwise used, without an expression-parse failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100