stack_trace 1.6.4 copy "stack_trace: ^1.6.4" to clipboard
stack_trace: ^1.6.4 copied to clipboard

outdatedDart 1 only

A package for manipulating stack traces and printing them readably.

1.6.4 #

  • Fix a syntax error introduced in 1.6.3.

1.6.3 #

  • Make Chain.capture() generic. Its signature is now T Chain.capture<T>(T callback(), ...).

1.6.2 #

  • Fix all strong mode warnings.

1.6.1 #

  • Use StackTrace.current in Dart SDK 1.14 to get the current stack trace.

1.6.0 #

  • Add a when parameter to Chain.capture(). This allows capturing to be easily enabled and disabled based on whether the application is running in debug/development mode or not.

  • Deprecate the ChainHandler typedef. This didn't provide any value over directly annotating the function argument, and it made the documentation less clear.

1.5.1 #

  • Fix a crash in Chain.foldFrames() and Chain.terse when one of the chain's traces has no frames.

1.5.0 #

  • new Chain.parse() now parses all the stack trace formats supported by new Trace.parse(). Formats other than that emitted by Chain.toString() will produce single-element chains.

  • new Trace.parse() now parses the output of Chain.toString(). It produces the same result as Chain.parse().toTrace().

1.4.2 #

  • Improve the display of data: URIs in stack traces.

1.4.1 #

  • Fix a crashing bug in UnparsedFrame.toString().

1.4.0 #

  • new Trace.parse() and related constructors will no longer throw an exception if they encounter an unparseable stack frame. Instead, they will generate an UnparsedFrame, which exposes no metadata but preserves the frame's original text.

  • Properly parse native-code V8 frames.

1.3.5 #

  • Properly shorten library names for pathnames of folded frames on Windows.

1.3.4 #

  • No longer say that stack chains aren't supported on dart2js now that sdk#15171 is fixed. Note that this fix only applies to Dart 1.12.

1.3.3 #

  • When a null stack trace is passed to a completer or stream controller in nested Chain.capture() blocks, substitute the inner block's chain rather than the outer block's.

  • Add support for empty chains and chains of empty traces to Chain.parse().

  • Don't crash when parsing stack traces from Dart VM stack overflows.

1.3.2 #

  • Don't crash when running Trace.terse on empty stack traces.

1.3.1 #

  • Support more types of JavaScriptCore stack frames.

1.3.0 #

  • Support stack traces generated by JavaScriptCore. They can be explicitly parsed via new Trace.parseJSCore and new Frame.parseJSCore.

1.2.4 #

  • Fix a type annotation in LazyTrace.

1.2.3 #

  • Fix a crash in Chain.parse.

1.2.2 #

  • 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().

1.2.1 #

  • Add terse to LazyTrace.foldFrames().

  • Further improve stack chains when using the VM's async/await implementation.

1.2.0 #

  • Add a 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.

1.1.3 #

  • Produce nicer-looking stack chains when using the VM's async/await implementation.

1.1.2 #

  • 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>.

1.1.1 #

  • Widen the SDK constraint to include 1.7.0-dev.4.0.

1.1.0 #

  • 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.

1.0.3 #

  • Use Zone.errorCallback to attach stack chains to all errors without the need for Chain.track, which is now deprecated.

1.0.2 #

1.0.1 #

  • Synchronous errors in the [Chain.capture] callback are now handled correctly.

1.0.0 #

  • No API changes, just declared stable.

0.9.3+2 #

  • Update the dependency on path.

  • Improve the formatting of library URIs in stack traces.

0.9.3+1 #

  • If an error is thrown in Chain.capture's onError handler, that error is handled by the parent zone. This matches the behavior of runZoned in dart:async.

0.9.3 #

  • Add a Chain.foldFrames method that parallels Trace.foldFrames.

  • Record anonymous method frames in IE10 as "

284
likes
0
pub points
98%
popularity

Publisher

verified publishertools.dart.dev

A package for manipulating stack traces and printing them readably.

Repository
View/report issues

License

unknown (license)

Dependencies

path

More

Packages that depend on stack_trace