tree: 4de329b2d2cec81f43e41a3f04a42e40b5781830 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. bug_report_client.cc
  5. bug_report_client.h
  6. bug_report_client_main.cc
  7. bug_report_schema.h
  8. bug_reporter.cc
  9. bug_reporter.h
  10. main.cc
  11. meta/
  12. tests/
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.