flutter / flutter/devtools

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

Đang mở
#9,168 9 bình luận 0 reaction 0 người được giao Xem trên GitHub
copy behavior enhancement P2 screen: cpu profiler
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu từ tab Bottom Up của trang CPU Profiler và kiểm tra cách liên kết URI tệp của từng phương thức được hiển thị. Thêm một điều khiển sao chép bên cạnh liên kết để sao chép đường dẫn tệp hoặc URI nhằm sử dụng trong một IDE, đồng thời xác minh rằng giá trị được sao chép khớp với liên kết được hiển thị mà không điều hướng đến Debugger.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart
Lĩnh vực
devtools, performance
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.