flutter / flutter/devtools

[Inspector] Infinite loading after a hot restart

Aperta
#9,152 10 commenti 3 reazioni 1 assegnatario Rivendicata da @elliette Vedi su GitHub
bug P1 screen: inspector
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.