flutter / flutter/devtools

Provide a way to copy the path to a file in the CPU Profiler

Aperta
#9,168 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub
copy behavior enhancement P2 screen: cpu profiler
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

When running DevTools in a browser, on the CPU Profiler page, in the Bottom Up tab (and presumably elsewhere as well) each method is followed by a link whose label is the URI of the file (or maybe library) in which the method is defined. Clicking on the link opens the Debugger page showing the indicated file, but opens to the wrong location in the file. Given that the Debugger is in maintenance mode I don't expect that we're going to fix this behavior, but going to the debugger isn't really helpful anyway given that the method is no longer on the stack.

What would be helpful, and what I'm asking for, is to have a 'copy' button added after the link that would copy the path to the file. That would allow me to easily navigate to the file in my IDE.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.