在Eclipse上为Android程序插入断点 [英] Inserting breakpoints on Eclipse for an Android program
本文介绍了在Eclipse上为Android程序插入断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
添加到阿马尔霍什答案,另请参阅您的JDK版本。
有一个错误与JDK6_u14等u15 ,这使您的断点看不见(程序在调试会话期间不会停止)
修复最新的JDK6u16。 p>
I'm using Eclipse 3.3 and Android 1.6. I installed DDMS on my Eclipse and tried to insert breakpoints as in tutorial https://www.ibm.com/developerworks/library/os-ecbug/ . However, as I run my project, the program won't stop when it reaches the breakpoint. Is there a bug in Eclipse or am I doing something wrong?
解决方案
To add to Amarghosh answer's, check also your JDK version.
There is a bug with JDK6_u14 et u15, which made your breakpoints "invisible" (the program would not stop during a debug session)
Fixed in the latest one JDK6u16.
这篇关于在Eclipse上为Android程序插入断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文