flutter / flutter/devtools

Dart `_HashMap` class does not show the same debugger view as map

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

描述

To fix this and similar cases such as _HashSet and perhaps all classes implementing Map, Set, and Iterable
we should add helpers to Dart DevTools that use helpers to efficiently extra out the values from these fields by doing a single eval to convert over to the correct Dart List data to batch read the values.
Screenshot showing how this makes it hard to see the _inheritedWidgets for a Flutter class.
Screen Shot 2021-02-19 at 12 09 05 PM

贡献指南

打开贡献指南

调研方向

未指定文件或测试。首先定位 Dart DevTools 对 _HashMap 及其集合视图的调试器处理,然后查看如何通过一次求值批量读取值。完成的标准是:_HashMap、_HashSet 以及适用的 Map、Set 或 Iterable 实现都能提供有用的调试器视图,包括 _inheritedWidgets 情况。

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

评估

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

把新 issue 发到你的邮箱

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