Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-obfuscate stack traces for errors offline #8388

Open
elliette opened this issue Oct 2, 2024 · 0 comments
Open

De-obfuscate stack traces for errors offline #8388

elliette opened this issue Oct 2, 2024 · 0 comments
Labels
cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets P3 issues we think are valid but not important

Comments

@elliette
Copy link
Member

elliette commented Oct 2, 2024

In #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 #8385 aren't sufficient for our use case.

@elliette elliette added P3 issues we think are valid but not important cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets P3 issues we think are valid but not important
Projects
None yet
Development

No branches or pull requests

1 participant