tree: 9207b29168243a5cdeb18bff0979d25c6415903e [path history] [tgz]
  1. client/
  2. meta/
  3. tests/
  4. bug_report_schema.h
  5. bug_reporter.cc
  6. bug_reporter.h
  7. BUILD.gn
  8. command_line_options.cc
  9. command_line_options.h
  10. main.cc
  11. OWNERS
  12. README.md
src/developer/bugreport/README.md

bugreport: snapshot the current state of the device

Overview

bugreport is a tool that allows developers to snapshot the current state of their device and typically attach its output files to issues they file.

It consists of a bugreport component running on target and a bugreport host tool to parse the data the target program streams back and to generate the output files.

Running it

In-tree

To run bugreport in-tree, you first build it. Most product configurations include //bundle:tools in their universe so fx build should suffice. You can then simply run:

fx bugreport

This will output to stdout the path to the generated files.

Out-of-tree

To run bugreport out-of-tree, the host tool is exported in the SDK under tools/. You can then pipe the output of running bugreport on the target to sdk/tools/bugreport, providing an output directory.

<run bugreport on target> | sdk/tools/bugreport <output dir>

This will output to stdout the path to the generated files.

Question? Bug? Feature request?

Contact donosoc and frousseau, or file a bug or a feature request.