flutter / flutter/devtools

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

Ouverte
#9,168 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
copy behavior enhancement P2 screen: cpu profiler
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

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