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

未关闭
#13,655 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug debugger help wanted tasks/build/debug
主要语言
TypeScript
星标
6.2k
派生
1.7k
平均合并
14 小时 46 分钟
30 天内合并 PR
61

描述

  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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

通过向 launch.json 添加 attach 配置来重现该问题,然后使用文件右上角的 Debug 或 Configure Active 选项。跟踪这些配置如何填充每个下拉菜单,并确定条目重复的原因。当每个配置在相关下拉菜单中仅出现一次,同时现有的 attach 选项仍然可用时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。