Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Allow setting of mode also for function breakpoints

未关闭
#539 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
领域
devtools

调研方向

从 DAP FunctionBreakpoint 类型开始,并将其与其他已经公开 mode 的断点类型进行比较。确定是否可以在其中表示软件模式或硬件模式,同时不与现有协议冲突,然后更新协议定义,使函数断点能够携带 mode。当所请求的 mode 可以针对函数断点表达,并且该行为已由协议记录时,即视为完成。

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

描述

Some debuggers (e.g. LLDB) can create function breakpoints in multiple different modes (software/hardware). At the moment DAP can not express this as the FunctionBreakpoint type is missing the mode parameter present on other breakpoint types.

Was there some specific reason for not allowing the mode on the FunctionBreakpoint?

Is there some other, standard way that mode of function breakpoint can be passed to the DA?

If both of the above are false please consider adding the mode parameter onto the FunctionBreakpoint type

主要语言
HTML
星标
1.8k
派生
173
平均合并
7 天 7 小时
30 天内合并 PR
2

环境准备

从这里开始

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

microsoft/debug-adapter-protocol 的其他 Issue

查看 microsoft/debug-adapter-protocol 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 发到你的邮箱

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