flutter / flutter/devtools

Support source links for a profile mode app.

Offen
#5,604 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
ide-integration P2 screen: cpu profiler
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.