简体   繁体   English

用于android虚拟设备的Eclipse调试器挂起?

[英]Eclipse debugger for android virtual device hanging?

Saw similar questions but nothing addresses what I see and have to work with: 看到类似的问题,没有解决我看到和必须使用的问题:

[16:29:11 - com.XX.yy] Attempting to connect debugger to 'com.XX' on port 8852

No actual device just the Android emulator. 没有实际的设备只是Android模拟器。

Runs correctly on the emulator (although takes a while to get running). 在模拟器上正确运行(虽然需要一段时间才能运行)。

However, trying to debug and it just hangs. 但是,尝试调试它只是挂起。

Displays the message above and shows a black screen on the emulator...? 显示上面的消息并在模拟器上显示黑屏......?

Any point in the right direction is greatly appreciated. 非常感谢正确方向的任何一点。

Thank You . 谢谢 。

As you mentioned line is waiting where you gave an break point in your program. 正如你所提到的,行正在等待你在程序中给出断点的位置。

Always emulator is slow process while debug. 调试时总是模拟器进程缓慢。 To increase the eclipse speed by change the configuration file of eclipse in your eclipse folder and restart. 通过在eclipse文件夹中更改eclipse的配置文件来提高日食速度并重新启动。

hope it help full 希望它有所帮助

Try deleting your current AVD and create a new one and then run the debugger again. 尝试删除当前的AVD并创建一个新的AVD,然后再次运行调试器。 Solved the problem in my case. 解决了我的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM