Diagnostics

Tools that stay close to runtime truth

Android Studio ships profilers and inspectors that understand activities, fragments, and Jetpack lifecycles. Use this page as a map from symptoms to the right tool window.

Profilers

CPU profiling highlights hot methods and scheduling issues. Memory profiling tracks allocations and retention paths. Network and energy views connect background work to user visible jank and battery drain.

CPU

Record traces while reproducing stutter. Inspect call stacks and frame deadlines to see whether work belongs on a background executor.

Memory

Heap dumps and allocation timelines expose leaked contexts, oversized bitmaps, and caches that never evict.

Energy

Correlate wake locks, location requests, and alarms with foreground states to prioritize fixes that move metrics.

Android Studio interface capture on android-studio.net #5 Android Studio interface capture on android-studio.net #6

Logcat

Structured filters help you isolate your package, severity levels, and tags. Save filter sets per feature team so on call rotations start from the same baseline.

  • Attach to a process automatically when debugging breakpoints are hit.
  • Switch between physical devices and emulators without losing filter context.

Layout and data inspectors

Layout inspector visualizes view hierarchies and recomposition counts for Compose. Database inspector reads Room databases during development when enabled for debug builds.

Android Studio interface capture on android-studio.net #7 Android Studio interface capture on android-studio.net #8

Images are from the local media folder and illustrate typical dense tool layouts.

Download