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

查看:25
本文介绍了如何在 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 through a few lines. So far the only thing I have been able to do is just killing 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 why 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天全站免登陆