You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
The debugging experience, especially for large apps, is much better if we automatically trap on certain errors.
Catch on all exceptions doesn't seem to work well with Angular2 - they explicitly throw to record stack traces. One alternative is to make that work.
Another is to trap on explicit Dart errors (NullValue, NSM, Cast) - but this misses cases where we rely on the JS implementation to throw TypeErrors (null method or field).
The text was updated successfully, but these errors were encountered:
A right click to blackbox each script when you see it throw an error is all that is required.
Longer term there are two other options:
Ask chrome devtools to support a pause on all exceptions with the ability to provide a filter on the exception object.
Use the existing chrome functionality to track async stack traces instead of having dart code throw and catch to capture stack traces. Integrating with the existing chrome async stack trace functionality has the added benefit that inspection is supported on the async stack frames. This wouldn't solve all "applications catch and throw for spurious reasons" annoyances but would help a lot.
The debugging experience, especially for large apps, is much better if we automatically trap on certain errors.
Catch on all exceptions doesn't seem to work well with Angular2 - they explicitly throw to record stack traces. One alternative is to make that work.
Another is to trap on explicit Dart errors (NullValue, NSM, Cast) - but this misses cases where we rely on the JS implementation to throw TypeErrors (null method or field).
The text was updated successfully, but these errors were encountered: