flutter / flutter/devtools

Some variables that are not expandable appear to be expandable

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

描述

e.g., when inspecting the following:

```
final name = 'Prismo';
```

The little `>` makes it seem the variable is expandable:

Screenshot 2023-07-05 at 3 24 20 PM

Here is where we determine that: https://github.com/flutter/devtools/blob/0f72e7d300aa1d64f4fcee40ee2785e17cd069e1/packages/devtools_app/lib/src/shared/diagnostics/dart_object_node.dart#L269

贡献指南

打开贡献指南

调研方向

从 packages/devtools_app/lib/src/shared/diagnostics/dart_object_node.dart 第 269 行附近开始,并使用提供的 final name 示例重现 inspector 的行为。跟踪如何为 Dart object nodes 选择可展开指示器。当不可展开的变量不再显示该指示器,而真正可展开的变量仍然显示时,即表示完成。

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

评估

技术栈
dart
领域
devtools
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

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