stack_trace 1.11.0 icon indicating copy to clipboard operation
stack_trace: ^1.11.0 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!';
}
158
likes
140
pub points
100%
popularity

Publisher

verified publisher icontools.dart.dev

A package for manipulating stack traces and printing them readably.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

path

More

Packages that depend on stack_trace