flutter / flutter/devtools

Structured error display

オープン
#2,661 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
P3 screen: inspector screen: logging
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

I had an exception, and I was in devtools, and it would have been super useful to be able to inspect the various objects mentioned in the structured error message.

Especially useful would have been the ability to inspect the properties of the objects, and be able to jump to the corresponding render objects in the inspector view.

This is probably a medium-priority feature request. In particular, if we don't have this feature, it draws into question why we bother having structured error messages at all; if the feature is no longer deemed useful, we should simplify the framework code by removing all the logic around structured errors.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、DevTools が構造化されたエラーメッセージをどのように表示し、インスペクタービューが render objects をどのように表現しているかを追跡します。オブジェクトのプロパティと対応する render objects を検査できるように公開する方法を判断します。構造化されたエラーが既存の目的を失うことなく両方の機能をサポートすれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
devtools, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。