flutter / flutter/devtools

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

Open
#6,056 1 comment 0 reactions 0 assignees View on GitHub
P2 screen: debugger
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

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)

Contributor guide

Open the contributing guide

Research direction

Start by reading the DAP specification linked in the issue, then locate the debugger panel and eval implementation in Dart DevTools. Determine the current VM Service integration and the DAP interfaces needed; the work is done when those areas use DAP instead of the VM Service.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
devtools
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.