Slide 1

Slide 1 text

Android Debugging Tools Richa Khandelwal

Slide 2

Slide 2 text

Logcat

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

Hierarchy Viewer

Slide 5

Slide 5 text

Stack Traces that trace

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

Network Tracing

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

Retrofit • LogLevel.FULL

Slide 11

Slide 11 text

Open Source

Slide 12

Slide 12 text

Stetho • Setting up Stetho - http://littlerobots.nl/blog/ stetho-for-android-debug-builds-only/ • Network Tracing • View hierarchy debugging • Database inspection • Shared preferences

Slide 13

Slide 13 text

Leak Canary • Detect all memory leaks • https://corner.squareup.com/2015/05/leak- canary.html

Slide 14

Slide 14 text

Crash monitoring

Slide 15

Slide 15 text

Crash monitoring tools • Crashlytics • Crittercism • Google Developer Console

Slide 16

Slide 16 text

Crashlytics - logs/keys

Slide 17

Slide 17 text

Thank You!