flutter / flutter/devtools

Structured error display

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

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how DevTools displays structured error messages and how the inspector view represents render objects. Determine how object properties and corresponding render objects could be exposed for inspection; done means structured errors support both capabilities without removing their existing purpose.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.