flutter / flutter/devtools

[property editor] invalid line number exception

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

描述

Date: 2025-06-15
DevTools version: 2.47.0
Error: Invalid line number
Stack trace:
```
file:///b/s/w/ir/x/w/rc/tmpus7c8t8d/hosted/pub.dev/dtd-2.5.1/lib/src/dart_tooling_daemon.dart 190:23 \| call file:///b/s/w/ir/x/w/devtools/packages/devtools_app/lib/src/shared/editor/editor_client.dart 412:17 \| _callLspApi file:///b/s/w/ir/x/w/devtools/packages/devtools_app/lib/src/shared/editor/editor_client.dart 326:30 \| _callLspApiAndDeserializeResponse file:///b/s/w/ir/x/w/devtools/packages/devtools_app/lib/src/shared/editor/editor_client.dart 252:9 \| getEditableArguments file:///b/s/w/ir/x/w/devtools/packages/devtools_app/lib/src/standalone_ui/ide_shared/property_editor/property_editor_controller.dart 211:16 \| _updateWithEditableWidgetData
```
CC @elliette

贡献指南

打开贡献指南

调研方向

从 packages/devtools_app/lib/src/standalone_ui/ide_shared/property_editor/property_editor_controller.dart 中的 _updateWithEditableWidgetData 开始,并通过 editor_client.dart 跟踪 getEditableArguments。如果可能,重现报告的无效行号异常,然后确定预期的处理方式,并为失败的属性编辑器路径添加覆盖。

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

评估

技术栈
dart
领域
developer-experience, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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