stack_trace 1.12.0 copy "stack_trace: ^1.12.0" to clipboard
stack_trace: ^1.12.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<void>.delayed(const Duration(seconds: 1)).then((_) => _runAsync());
}

void _runAsync() {
  throw StateError('oh no!');
}
284
likes
160
pub points
98%
popularity

Publisher

verified publishertools.dart.dev

A package for manipulating stack traces and printing them readably.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

path

More

Packages that depend on stack_trace