LazyTrace
.Chain.parse
.Don't print the first folded frame of terse stack traces. This frame is always just an internal isolate message handler anyway. This improves the readability of stack traces, especially in stack chains.
Remove the line numbers and specific files in all terse folded frames, not just those from core libraries.
Make padding consistent across all stack traces for Chain.toString()
.
Add terse
to LazyTrace.foldFrames()
.
Further improve stack chains when using the VM's async/await implementation.
terse
argument to Trace.foldFrames()
and Chain.foldFrames()
. This allows them to inherit the behavior of Trace.terse
and Chain.terse
without having to duplicate the logic.Support VM frames without line or column numbers, which async/await programs occasionally generate.
Replace <<anonymous closure>_async_body>
in VM frames' members with the terser <async>
.
Unify the parsing of Safari and Firefox stack traces. This fixes an error in Firefox trace parsing.
Deprecate Trace.parseSafari6_0
, Trace.parseSafari6_1
, Frame.parseSafari6_0
, and Frame.parseSafari6_1
.
Add Frame.parseSafari
.
Zone.errorCallback
to attach stack chains to all errors without the need for Chain.track
, which is now deprecated.Update the dependency on path.
Improve the formatting of library URIs in stack traces.
Chain.capture
's onError
handler, that error is handled by the parent zone. This matches the behavior of runZoned
in dart:async
.Add a Chain.foldFrames
method that parallels Trace.foldFrames
.
Record anonymous method frames in IE10 as “”.