Code Monkey home page Code Monkey logo

android-crash-anr-logcat-bugreport's Introduction

★ Crash vs. ANR

★ ADB logcat vs. bugreport

Horizontal View Screenshot 2023-02-19 at 7 12 50 PM

Vertical View Screenshot 2023-02-19 at 7 10 35 PM

What is the main difference between adb logcat and adb bugreport?

I use both the adb logcat and adb bugreport commands to collect diagnostic info from an Android device. However, they serve different purposes and provide different types of info.

  • adb logcat command is used to collect system logs from an Android device. The logs contain messages generated by the Android system and various apps, and they can be useful for troubleshooting and debugging issues. I often use the command to identify patterns or trends that might help me isolate the root cause of a problem. It also allows me to filter the logs by various criteria.
  • adb bugreport command is used to collect a comprehensive set of logs and diagnostic info from an Android device. In addition to system logs, the bug report includes kernel logs, dumpsys output, info about the hardware and software configs, and other info that be useful for troubleshooting and debugging issues. The command is primarily used to provide detailed info about the device and its current state to support development teams.

Overall, the main difference between adb logcat and adb bugreport is the type and amount of info they collect. The adb logcat command is focused on system logs, while the adb bugreport command collects a more comprehensive set of diagnostic info. Depending on my needs and goals, I might use one or both of these commands to collect info from an Android device. Most of the times, logcat suffices for daily testing purposes. The bugreport.zip file is useful, if I need an ANR report but am not a device root user.

android-crash-anr-logcat-bugreport's People

Contributors

lana-20 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.