Skip to content

[Feature] 类型化 DebugAdapter Registry 与第三方 DAP 接入现有 Debug UI #1210

Description

@xiaoyumuxi

📦 迁移自 Lithe-IDEA/Lithe-IDEA#41
原作者 arkleselect · 创建于 2026-10-13 14:57 UTC · 原状态 OPEN


本任务来自 PR #1206 的架构定位审查,属于后续阶段,不要求在 #1206 实现。当前 pluginAPIVersion=2 的字段、校验和兼容性保持不变。总跟踪 #1183、迁移 #1186,端到端验收 #1184。

设计说明:公共扩展契约与原生 Provider 接入方向。

目标

内置和插件调试适配器共用领域 Provider 契约,将按语言建立的 debugFactories 逐步迁到类型化 Registry。第三方 DAP 进入现有 Debug UI。

工作范围与验收

  • 盘点当前 DAP 会话、断点、启动计划、终端、变量和停止链路,复用完整子系统;设计 DebugAdapter Provider 的声明、发现与优先级/冲突规则。
  • 原生内置适配器与第三方插件共用类型化注册目录,组合根不按新插件名称追加特判。
  • 纯 Debug 插件无语言/无 UI 也能声明能力,在新契约下验证权限、工具链和资源归属。
  • 第三方 DAP 完成启动、断点、停止、会话清理,在既有 Debug UI 展示线程/栈/变量。
  • 覆盖禁用期间启动、失败隔离、取消、晚到事件、重新启用和已有调试行为不回退。
  • Windows 独立适配共享声明/fixtures,并分别提供实机证据。

非目标

不重建 DAP 状态机或另一套 Debug UI,不把语言字符串工厂直接作为最终公共契约,不要求 #1206 同步实现。

Activity

  1. added 3 commits that reference this issue on Oct 25, 2026
  2. added 8 commits that reference this issue on Oct 26, 2026
  3. 29 remaining items

  4. added a commit that references this issue on Oct 27, 2026
  5. added 12 commits that reference this issue on Oct 27, 2026
  6. added a commit that references this issue on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreview: highghfind author score; see https://ghfind.com

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions