[英]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.转到 Android Studio > Preferences > Debugger > Stepping 然后在底部单击带有问号的加号箭头,上面写着添加模式。 Type android.* and hit OK and then Apply.
输入 android.* 并点击 OK 然后应用。
But I can't find preferences in Android Studio.但是我在 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安卓工作室 1.4.1
Simply Just use 'f9' (Resume Program).只需使用'f9'(恢复程序)。
This will Resume your program Normally and will stop only if there is a Break Point.这将正常恢复您的程序,并且只有在出现断点时才会停止。
Hope this helps you.希望这对你有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.