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

A package for manipulating stack traces and printing them readably.

example/example.dart

import 'dart:async';

import 'package:stack_trace/stack_trace.dart';

void main() {
  Chain.capture(_scheduleAsync);
}

void _scheduleAsync() {
  Future.delayed(const Duration(seconds: 1)).then((_) => _runAsync());
}

void _runAsync() {
  throw 'oh no!';
}
286
likes
0
points
5.51M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

A package for manipulating stack traces and printing them readably.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

path

More

Packages that depend on stack_trace