flutter / flutter/devtools

<exception> variable should be available at all levels of the stack

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

Description

Currently when an exception occurs, we inject an `` variable into the top stack frame. This means if you navigate up the stack (eg. if the exception occurred inside the `assert` implementation but you want to view the code that contained the condition) it's not longer visible.

It'd be better if this variable was "global" while you were paused on the exception so you can see it when at any level of the stack.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by locating the debugger code that injects the variable into the top stack frame, then trace how variables are exposed when navigating between frames. Done means the variable remains available at every stack level while paused on the exception, with debugger coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.