tree: 0b79c40605d7ec6e9be81c70aa32078d060c6ce0 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. analysis_options.yaml
  5. lib/
  6. meta/
  7. pubspec.yaml
bin/crasher_dart/README.md

Utility program to simulate a Dart program throwing an unhandled exception, resulting in a Dart crash caught by the C++ Dart VM runner. The program can be run as follows:

$ run fuchsia-pkg://fuchsia.com/crasher_dart#meta/crasher_dart.cmx [<async|sync|exit>]
  • async throws an exception from an async function
  • sync throws an exception from a sync function
  • exit calls the disallowed io::exit() function