Android tracing, monitoring and debugging

This article provides useful information to start using Android tracing, monitoring and debugging environments.

1 Specific Linux® tracing and debugging tools[edit]

In Android various Linux tracing and debugging tools are available. To get the global picture, refer to Linux tracing, monitoring and debugging page.

2 Android tools[edit]

2.1 Application debugging[edit]

You can use Android Studio to debug your Android application. Please read the official documentation about Android Studio[1].

2.2 logcat[edit]

The Android logging system provides a mechanism for collecting and viewing system debug output. Logs from various applications and portions of the system are collected in a series of circular buffers, which then can be viewed and filtered by the logcat command. Use logcat from an ADB shell to view the log messages.

For more information refer to the Android developer site[2].

2.3 perfetto[edit]

Perfetto is an open-source project for performance instrumentation and tracing of Android platforms and user-space apps.

For more information refer to the perfetto page.

3 References[edit]