开发者

Eclipse runs debug mode even when I click "run"

Eclipse always starts my app on debug mode even though i click the regul开发者_高级运维ar "run" button...

Any ideas?


I found that I had to reboot my Xoom to get it to work properly again.


When this happened to me I found that I had left a call to android.os.Debug.waitForDebugger() in the code, which was causing the debugger to attach. Removing those calls fixed the problem.


try to select Run -> Remove All Breakpoints, and run your project again


Use the perspective DDMS , and run your app, and then , you will see the icon of debugging in the process of your app , uncheck it and it will work ;

if id didn't work , open the perspective Debug ,then, disable all the breakpoints , and it will work


Restart Eclipse and the emulator. That always works for me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜