第一行断点仅 [英] The first line breakpoint works only

查看:169
本文介绍了第一行断点仅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我Android Studio中(我用的IntelliJ IDEA + SDK)开发
我遇到的调试问题。我所有的断点并不适用于所有项目。
排除是在一个方法的第一行中断点
例如:

断点1号线工程2号线不
断点的提示告知发现此行没有来源。好像ProGuard的启用,但它没有。

I am developing in Android Studio (i've used IntelliJ IDEA + SDK) I've encountered debugging problem. All my breakpoints don't work in all projects. Exclusion is the breakpoint on the first line of a method for example: Breakpoint on line 1 works, on line 2 doesn't breakpoint's Hint tells that no sources found for this line. It seems like proguard is enabled, but it doesn't.

我曾尝试创建新的空项目(摇篮)。它也不能正常工作。
你有什么想法?

I have tried create new empty project (Gradle). It is also not working. Have You any idea?

推荐答案

我已经解决了这个问题。我是一个真正的设备(的Nexus 4与Android 4.4奇巧)上运行调试。而且我已经启用的 ART代替的Dalvik 在设备上。当我切换回Dalvik的所有断点开始工作。

I've solved the problem. I was running debugging on a real device (Nexus 4 with Android 4.4 KitKat). And I' have enabled ART instead Dalvik on the device. All breakpoint start to work when i've switched back to Dalvik.

这篇关于第一行断点仅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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