How to skip android source code while debugging in Android Studio
Hi there, are you facing any trouble while debugging your app in Android Studio? For example, each time you debug an application it drops you in the source code of API. But in most of the cases you do not want to debug library’s API! You may achieve this by doing the following steps-
Go to File->Settings->Build,Execution,Deployment->Debugger->Stepping Check “Do not step into the classes” checkbok. Click on “add pattern” button on the right hand side of the list. Enter name of the package that you want to skip while debugging and save it.
For example, to skip android API you may insert com.android.* and android.* in the “Do not step into the classes” list. Now you are ready to skip APIs while debugging.