flutter / flutter/devtools

Dart `_HashMap` class does not show the same debugger view as map

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

Descrizione

To fix this and similar cases such as _HashSet and perhaps all classes implementing Map, Set, and Iterable
we should add helpers to Dart DevTools that use helpers to efficiently extra out the values from these fields by doing a single eval to convert over to the correct Dart List data to batch read the values.
Screenshot showing how this makes it hard to see the _inheritedWidgets for a Flutter class.
Screen Shot 2021-02-19 at 12 09 05 PM

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

No file or test is named. Start by locating the Dart DevTools debugger handling for _HashMap and its collection views, then review how a single evaluation could batch-read values. Done means _HashMap, _HashSet, and applicable Map, Set, or Iterable implementations expose useful debugger views, including the _inheritedWidgets case.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.