commit | 400c6c19e969101a03b8b8ee107f7d23ea5f45df | [log] [tgz] |
---|---|---|
author | Vyacheslav Egorov <vegorov@google.com> | Mon Feb 12 15:42:47 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Mon Feb 12 15:42:47 2018 +0000 |
tree | eaf4ab05d76ae965487361f9b7291d26d4eb161f | |
parent | 63c7c158def7b866484b83de59d5a7ef3aa5be19 [diff] |
[vm/kernel] Reformat uris of core-library scripts when reporting exceptions. Currently front-end embeds absolute paths to build time locations into Kernel binaries. Reporting those to user make stack trace unreadable and also breaks stack trace filters that attempt to filter out implementation frames from dart:async: #1 _RootZone.runUnary (file:///Users/vegorov/src/dart/sdk/sdk/lib/async/zone.dart:1381:54) same frame in legacy mode looks like this: #1 _RootZone.runUnary (dart:async/zone.dart:1381) This CL changes stack frame formatting so that even in Dart 2 mode result looks closer to legacy mode result. This is a workaround for https://github.com/dart-lang/sdk/issues/32087 Change-Id: Ic69cb039ff7d40d0e8e5340a9c1dc067427479ea Reviewed-on: https://dart-review.googlesource.com/40522 Commit-Queue: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.