flutter / flutter/devtools

DevTools occasionally freezes when using WASM

Ouverte
#8,355 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
cross-screen dart2wasm P1
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by running `devtools_tool serve --wasm --no-strip-wasm`, enabling WASM in the settings dialog, and reproducing the freeze through the Debugger panel's file picker. Investigate the repeated file-switching flow and verify that switching files rapidly no longer freezes DevTools.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart, wasm
Domaine
developer-experience, tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.