flutter / flutter/devtools

[Inspector] Infinite loading after a hot restart

Open
#9,152 10 comments 3 reactions 1 assignee Claimed by @elliette View on GitHub
bug P1 screen: inspector
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

I was running into frequent infinite loading with my project. It usually happens after a hot restart.

To reproduce with my project:
1. Run `main.dart`.
2. Open the inspector in the side panel or the web.
3. After being loaded completely, trigger a hot restart.
4. The inspector starts infinite loading.

To stop it, I can only stop & rerun the entry point.

I can 100% reproduce this with a specific project, it doesn't seem to reproduce when I run with other projects.

![Image](https://github.com/user-attachments/assets/5e856e34-a7b1-4c73-ac1b-d77f745226f7)

___
**DevTools version**: 2.40.3
**IDE**: IntelliJ-IDEA
**Connected Device**:
CPU / OS: arm64 (64 bit) android
Connected app type: Flutter native (debug build)
Dart Version: 3.6.2
Flutter Version: 3.27.4 / stable
Framework / Engine: d8a9f9a52e / 82bd5b7209

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.