flutter / flutter/devtools

Migrate debugger panel and eval to use DAP instead of the VM Service

未关闭
#6,056 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P2 screen: debugger
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

We would like to reduce the work required to support new language features by migrating part of Dart DevTools over to using [DAP.](https://microsoft.github.io/debug-adapter-protocol/)

DAP is the abstract protocol designed by Microsoft to be used between a debugging tool (e.g., VS Code, Dart DevTools) and a debugger (e.g., VM Service).

With Dart DevTools using the DAP interface to represent variables, we will only need to implement features in the Dart DAP package, instead of in both the Dart DAP package and in Dart DevTools.

![stop-continue-terminate](https://github.com/flutter/devtools/assets/21270878/6f30cb31-9da9-4fac-b50a-4591b4534b26)

贡献指南

打开贡献指南

调研方向

首先阅读 issue 中链接的 DAP 规范,然后定位 Dart DevTools 中的调试器面板和 eval 实现。确定当前的 VM Service 集成以及所需的 DAP 接口;当这些部分使用 DAP 而不是 VM Service 时,工作就完成了。

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

评估

技术栈
dart, flutter
领域
devtools
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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