简体   繁体   中英

Android Studio. How to debug through my code only?

I mean how to avoid stepping through system methods. There is an answer here

It is written:

Go to 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.

But I can't find preferences in Android Studio. There is settings. There are debugger settings in there. But there is no stepping settings. Can someone kindly point me to stepping settings? Thanks!

I found it in Settings > Build, Execution, Deployment -> Debugger -> Stepping

And find "Do not step into the classes".

Android studio 1.4.1

Simply Just use 'f9' (Resume Program).

This will Resume your program Normally and will stop only if there is a Break Point.

Hope this helps you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM