flutter / flutter/devtools

File flickers in debugger during hot restart

オープン
#6,850 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
P3 screen: debugger
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。