microsoft / microsoft/vscode-cpptools

Duplicate debug attach options appear in the Debug or Configure Active File dropdown if any attach configs exist in launch.json

Open
#13,655 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug debugger help wanted tasks/build/debug
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

  1. Add some attach configurations to launch.json.
  2. Use the Debug or Configure Active options (top right of a file).

Bug: The dropdown shows duplicates (2 for Configure and 4 for Debug), which seems buggy and confusing. I'm not sure what the difference is between the duplicate options.

Image

I hit this while investigating https://github.com/microsoft/vscode-cpptools/pull/13569 , but it was a pre-existing issue.

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 by adding attach configurations to launch.json, then use the Debug or Configure Active options at the top right of a file. Trace how these configurations populate each dropdown and identify why entries are duplicated. Done means each configuration appears once in the relevant dropdown, with the existing attach options still available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.