Android Studio > Preferences > Debugger > Stepping then in the bottom click the plus arrow with the question mark that says
Add Pattern. Type
android.* and hit OK and then Apply.
In Android Studio 2.0 select File > Settings > Build, Execution, Deployment > Debugger > Stepping. Then click the “Add Pattern” button on the right. Type android.* (or whatever pattern you want to exclude) and click “OK” twice.
For the latest version of android studios
- Go to
File->Settingand search for
- click on
+?sign on the right side
add the following 4 patterns one by one