如何在Android Studio中进行调试? [英] How to Debug in Android Studio?

查看:237
本文介绍了如何在Android Studio中进行调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么

  1. 设置断点.
  2. 在断点处停止.
  3. 已发布,但处于调试模式.通过发布,我的意思是不要迈到下一行.跳转到下一个断点.或者只是等到断点被击中

我没有时间或渴望去学习SDK类.经过几行后,我只想退出.到目前为止,我唯一能做的就是杀死调试会话.要继续前进的"RELEASE"按钮在哪里?

I have no time or desire to go diving into the SDK classes. I just want out after I have stepped a through a few lines. So far the only thing I have been able to do is just kill the debug session. Where is the "RELEASE" button to just move on?

对我来说,这很明显.您不想深入到代码中.完成查找后,只需恢复到调试模式即可.等到您到达另一个断点.我该怎么做呢?能做到吗哪里没有按钮呢?

I mean to me this is just obvious. You don't want to step deeper and deeper into the code. Once your done looking just resume into debug mode. Wait until you hit another break point. How do I do this? Can it be done? And where is there no button for this?

只需恢复,即可保持在调试模式.你如何做到的?

Just resume, stay in debug mode. How do you do this?

推荐答案

调试窗口中的左上角按钮(绿色三角形)正在执行您想要的操作. 继续程序(F9)"

The top left button in the debug window (the green triangle) is doing what you want. "Resume Program (F9)"

这篇关于如何在Android Studio中进行调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆