Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android Debugging

B1b15a8df73879b1d5eb247fee2028eb?s=47 Richa
July 16, 2015

Android Debugging

An impromptu talk that I prepared in 10 minutes talking about my experience and favorite tools for debugging on Android

B1b15a8df73879b1d5eb247fee2028eb?s=128

Richa

July 16, 2015
Tweet

Transcript

  1. Android Debugging Tools Richa Khandelwal

  2. Logcat

  3. Logcat • Command line reference - http:// developer.android.com/tools/help/logcat.html

  4. Hierarchy Viewer

  5. Stack Traces that trace

  6. android.util.Log • Log.e(String tag, String msg, Throwable tr)

  7. Timber • Timber.e(Throwable tr, String message)

  8. Network Tracing

  9. Charles • Setting up charles - http://university.utest.com/ how-to-set-up-charles-web-debugging-proxy- for-android-devices-and-mac/

  10. Retrofit • LogLevel.FULL

  11. Open Source

  12. Stetho • Setting up Stetho - http://littlerobots.nl/blog/ stetho-for-android-debug-builds-only/ • Network

    Tracing • View hierarchy debugging • Database inspection • Shared preferences
  13. Leak Canary • Detect all memory leaks • https://corner.squareup.com/2015/05/leak- canary.html

  14. Crash monitoring

  15. Crash monitoring tools • Crashlytics • Crittercism • Google Developer

    Console
  16. Crashlytics - logs/keys

  17. Thank You!