dwds cannot find a frame in a caller after asynchronous gap
- Dominant language
- Dart
- Stars
- 224
- Forks
- 94
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 2
Description
**Repro**
- Debug flutter hello_world example
- Set breakpoint in binding.dart on line 993 as shown in the image
- Start debugging
- When app is stopped on the breakpoint, click on `scheduleAttachRootWidget` function down the the stack past the asynchronous gap
- Type `rootWidget` in the expression evaluation box
**Result**
InternalError: No frame with index 9
**Expected**
expression evaluated successfully

Contributor guide
Research direction
Reproduce this in the Flutter hello_world example using the breakpoint in binding.dart at line 993, then select scheduleAttachRootWidget past the asynchronous gap and evaluate rootWidget. Trace the frame lookup used by expression evaluation; done means the expression evaluates successfully instead of returning “No frame with index 9”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100