flutter / flutter/devtools

DevTools occasionally freezes when using WASM

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

説明

I've managed to rather reliably get DevTools to freeze when compliling to WASM.

Steps to repro:
- Run devtools with `devtools_tool serve --wasm --no-strip-wasm`
- Enable the WASM setting (in the settings dialog), and wait for window to reload
- Navigate to the Debugger panel, and click on the file name to open the file picker
- Click another file name in the dropdown to open that file
- Repeat a few times (rather quickly), eventually DevTools will freeze

![debugger_broken_wasm](https://github.com/user-attachments/assets/c5c30fa1-914c-45c1-843c-576f527393d7)

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

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

調査の方向性

まず `devtools_tool serve --wasm --no-strip-wasm` を実行し、設定ダイアログで WASM を有効にして、Debugger パネルのファイルピッカーからフリーズを再現します。ファイル切り替えを繰り返すフローを調査し、ファイルをすばやく切り替えても DevTools がフリーズしなくなったことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, wasm
領域
developer-experience, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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