microsoft / microsoft/vscode-cpptools

[C++ on windows][vsdbg]There are duplicate function breakpoint with same name displayed in breakpoint window.

Open
#1,999 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger
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:

  1. Open tests folder in attachments directly
    ConsoleApplication1.zip
  2. Update "program" in launch.json as following:
    "program": " ${workspaceFolder}/Debug/ConsoleApplication1.exe"
  3. Add function breakpoint "fun()" in breakpoints window
  4. 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.
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.