flutter / flutter/devtools

File flickers in debugger during hot restart

Aperta
#6,850 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
P3 screen: debugger
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

If there are multiple isolates, like when vm mode is enabled, the file flickers when doing a hot restart.

This is because we switch to the other isolate while the main isolate restart. Then when it comes back up, we switch back to the main isolate.

This was originally introduced by fixing https://github.com/flutter/devtools/issues/5017

It didn't make sense to fully address this issue until we have a reliable way to determine if we are in the middle of a hot restart or not though.

As such we filed this issue, asking for events to to sent for the hot restart lifecycle. https://github.com/flutter/flutter/issues/134470

Once that issue has a resolution then we can develop a hot restart lifecycle state, and base a flickerless behaviour off of that.

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.