Clarifying 'loadedSource' events
还没有人认领这个 Issue。
评估
调研方向
首先阅读 supportsLoadedSourcesRequest、loadedSources 和 loadedSource 的 DAP 定义,然后跟踪此处描述的 initialize、launch、configurationDone 和 loadedSources 序列。将事件排序规则与 lldb-dap 的预期行为进行比较;当协议文档明确说明 loadedSource 事件是否可以先于第一个 loadedSources 请求发生,以及客户端应如何协调这些事件时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
I'd like to better understand when I should fire a 'loadedSource' event.
If an adapter has the supportsLoadedSourcesRequest capability set, should I also send the 'loadedSource' event whenever I find a new source or should I delay sending any events until after the first 'loadedSources' request has been made?
At least from my testing I've seen the following DAP messages:
initialize<>launch<>setBreakpoint...<>configurationDone<>loadedSources<>
In lldb-dap at least we know some information about the sources for the debuggee around the time of the launch request but I'm not sure if I should send 'loadedSource' events before the first 'loadedSources' request, or if that request will just write over any sources I've already sent.
- 主要语言
- HTML
- 星标
- 1.8k
- 派生
- 173
- 平均合并
- 7 天 7 小时
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/debug-adapter-protocol 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 5/5 一周以上 新手友好度 35/100
microsoft/debug-adapter-protocol#633 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
-
难度 5/5 一周以上 新手友好度 35/100
microsoft/debug-adapter-protocol#599 · 8 个 reaction ·
-
under-discussion
难度 2/5 1-3 小时 新手友好度 48/100
microsoft/debug-adapter-protocol#596 · 9 条评论 ·
查看 microsoft/debug-adapter-protocol 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
-
area/profiles comp/cli comp/dashboard P2 sweeper:risk-session-state type/bug
难度 2/5 1-3 小时 新手友好度 82/100
NousResearch/hermes-agent#122365 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
vllm-project/production-stack#1105 ·
-
bug priority:low
难度 2/5 1-3 小时 新手友好度 84/100
CyberAgent/psd2svg#430 ·
-
难度 2/5 1-3 小时 新手友好度 75/100