在Android Studio中进行调试时,我可以退回到上一个断点吗? (丢帧) [英] Can I step back to previous breakpoint while debugging in Android Studio? (Drop the frames)

查看:403
本文介绍了在Android Studio中进行调试时,我可以退回到上一个断点吗? (丢帧)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够执行刚刚跨过的上一个断点

我知道Android Studio基于Intellij Idea,可以在链接中进行操作这里. 类似的问题问的相同,但与Eclipse IDE有关链接此处

还有一个答案说这是不可能的. 在此处链接

我可以看到"Drop Frame"按钮.但是默认情况下它是禁用的.

那么有什么方法可以启用此按钮吗?

解决方案

您所指的关于 Eclipse 的答案对于 Android Studio 仍然有效:

无法返回到 Android Studio 中的上一个断点,因为 DalvikVM Android运行时(ART)不支持.

如果您在标准虚拟机上运行JUnit测试时调试它们,则可以启用"Drop Frame"按钮(尽管我猜这不是您要的).

这可能是按钮存在的唯一原因.

Google用户指南完全忽略了它.

I would like to be able to execute previous breakpoint that I've just stepped over

I know Android Studio is based on Intellij Idea where it's possible link here. Similar question asking the same but its related to Eclipse IDE link here

There is also one answer that say's it's impossible. link here

I can see "Drop Frame" button. But it's disabled by default.

So is there any way to enable this button?

解决方案

The answer you are referring to regarding Eclipse is still valid for Android Studio:

You cannot step back to previous breakpoint in Android Studio because DalvikVM and Android Runtime (ART) do not support it.

You can enable the "Drop Frame" button if you debug JUnit tests as they run on a standard virtual machine (although I'm guessing this is not what you are after).

It is probably the only reason why the button exists.

Google's User Guide ignores it completely.

这篇关于在Android Studio中进行调试时,我可以退回到上一个断点吗? (丢帧)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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