flutter / flutter/devtools

Debugger has several bugs when debugging a Flutter test

Open
#7,224 1 comment 0 reactions 0 assignees View on GitHub
bug fix it friday P2 screen: debugger
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

Repro: run a flutter test with `flutter test test/foo_test.dart --start-paused`. Copy the VM service URI and connect to DevTools.

Bugs:
- incorrect main file is loaded
- trying to switch to a file is buggy (tried to select a file multiple times and it finally switched)
![file-opener-bug](https://github.com/flutter/devtools/assets/43759233/b9777a3b-e98a-4b0f-b4a4-72d73a158e5b)
- try to switch files from the file explorer and a bunch of failed to parse exceptions are thrown

@elliette

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.