Android Coroutine Tracer
Debugs stuck coroutines, memory leaks, and concurrency hangs in Android apps using ephemeral DebugProbes snapshots.
The Android Coroutine Trace skill provides a specialized workflow for diagnosing silent concurrency bugs that don't cause crashes but lead to hangs, missing UI updates, or memory creep. By guiding the ephemeral installation of the kotlinx-coroutines-debug library and the configuration of DebugProbes within the Application lifecycle, it enables developers to capture real-time snapshots of all active coroutines. This allows for precise identification of leaked jobs in ViewModels, deadlocks, and suspended awaits that lack a resumer, all while maintaining a strict cleanup protocol to ensure no debug code reaches production builds.
Key Features
01Remote snapshot triggering via adb shell broadcast commands
02Automated detection of project coroutine versions and Gradle DSL types
036 GitHub stars
04Deep analysis of coroutine stack traces and suspension states
05Ephemeral integration of DebugProbes for non-invasive debugging
06Strict cleanup verification to prevent debug code leakage in production
Use Cases
01Identifying deadlocks in complex reactive flows using snapshot comparisons
02Investigating UI freezes where a launch block executes but emissions never arrive
03Detecting coroutine leaks that persist after navigating away from a screen