flutter / flutter/devtools

Support source links for a profile mode app.

Aperta
#5,604 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
ide-integration P2 screen: cpu profiler
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

Right now, these links are disabled for a couple reasons:
1) in profile mode, we do not initialize the script manager. This code should be refactored so that the script manager itself is responsible for updating scripts on isolate changes and initial connection, instead of the current impl which has consumers of the isolate manager (debugger related features) responsible for refreshing scripts on the isolate manager.
2) in profile mode, the debugger page is disabled, so we do not have a destination for the links. We should use the new "tools" stream to navigate to the source uri in the user's IDE instead.
CC @bkonyi

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Trace how profile mode initializes the script manager and how consumers of the isolate manager refresh scripts, then inspect the new tools stream navigation path. Done means profile-mode source links open the source URI in the user's IDE and scripts update on isolate changes and the initial connection.

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
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.