开发者

Eclipse runs debug mode even when I click "run"

开发者 https://www.devze.com 2023-03-14 20:28 出处:网络
Eclipse always starts my app on debug mode even though i click the regul开发者_高级运维ar \"run\" button...

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

精彩评论

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

关注公众号