flutter / flutter/devtools

Jumping to nodes from the debugger to the inspector view

Open
#2,662 3 comments 0 reactions 0 assignees View on GitHub
P3 screen: debugger
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

I was stepping through some hit test code and got really deep into the tree... and got disoriented. What node am I handling right now anyway? It would be really useful to be able to jump from the debugger to the inspector view, for example, clicking on a button next to "this" in the variable view, or next to _child, etc. Basically any instance of RenderObject or Element corresponds to a node in the inspector and it would be great for all of them to have a direct link from the debugger to the tree.

Medium priority feature request. This could be a "killer feature" relative to IDE debuggers.

Contributor guide

Open the contributing guide

Research direction

Start with the debugger variable view and inspector view described in the issue, focusing on how RenderObject and Element instances are presented. Define the interaction for linking a variable such as "this" or "_child" to its corresponding inspector node, then verify that the link works for both instance types.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.