microsoft / microsoft/vscode-cpptools
[C++ on windows][vsdbg]There are duplicate function breakpoint with same name displayed in breakpoint window.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
VSCode Version:1.22.2
OS Version: Window10 X64
Steps to Reproduce:
- Open tests folder in attachments directly
ConsoleApplication1.zip - Update "program" in launch.json as following:
"program": " ${workspaceFolder}/Debug/ConsoleApplication1.exe" - Add function breakpoint "fun()" in breakpoints window
- Repeat step3
Excepted:
Function breakpoint with same name should display only one in breakpoints window.
Actual:
There are duplicate function breakpoint with same name displayed in breakpoint window.

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
Reproduce the issue with the attached ConsoleApplication1 project, the shown launch.json program path, and repeated fun() function breakpoints. Start by tracing how the C++ extension handles function breakpoints and populates the VS Code breakpoints window. Done means adding the same function breakpoint twice results in only one displayed entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100