flutter / flutter/devtools

De-obfuscate stack traces for errors offline

Đang mở
#8,388 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
cross-screen P3
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ả

In https://github.com/flutter/devtools/pull/8385, we are de-obfuscating stack traces in process. That means that we are reporting the Dart file and location names of the stack when DevTools encounters an error. However, if you were to try to open a link to any of those locations, it would fail. This is because although we are bundling the source map with the release, we are not including the actual Dart sources.

Another option (as described by @sigmundch) is to still show the obfuscated stack traces in any reported error, but add automation to de-obfuscate them within our tools, e.g. I believe the Dart VM is using a Github action that can be called to de-obfuscate a stack trace reported in a bug.

Note: I'm opening this up to keep track of what is needed if we decide that the changes in https://github.com/flutter/devtools/pull/8385 aren't sufficient for our use case.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.