插入Eclipse的断点的Andr​​oid程序 [英] Inserting breakpoints on Eclipse for an Android program

查看:196
本文介绍了插入Eclipse的断点的Andr​​oid程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的Eclipse 3.3和Android 1.6。我安装DDMS在我的Eclipse和试图插入断点在教程<一href="https://www.ibm.com/developerworks/library/os-ecbug/">https://www.ibm.com/developerworks/library/os-ecbug/ 。然而,当我跑我的项目,该项目将不会当它到达断点停止。有没有在Eclipse中的错误还是我做错了什么?

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?

推荐答案

要添加到<一个href="http://stackoverflow.com/questions/1535915/inserting-breakpoints-on-eclipse-for-an-android-program/1535955#1535955">Amarghosh答案是,检查也是你的JDK版本。

To add to Amarghosh answer's, check also your JDK version.

有一个<一个href="http://stackoverflow.com/questions/1027002/eclipse-swing-app-breakpoint-hit-only-after-an-uncaught-exception-is-thrown/1027038#1027038">bug与JDK6_u14等U15 ,这让您的断点隐形(该计划将不会在调试会话期间停止)
修正了最新一期JDK6u16。

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的断点的Andr​​oid程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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