Eclipse android project always lauching in debug

I feel silly asking this and even more silly to have this problem. I have a android project that has been executing fine until now.

but a couple of days ago, without me doing anything particular that I know of, my project has been always launching itself in debug no matter what I try (clicking on the debug or run gives me the same result). I try looking in the project settings and the build configuration but can't see anything justifying this.

so right now each time I launch the app I have to go to go to debug tab and click on disconnect...

Any ideas

Answers


Have you checked your run configurations menu? You might have some extraneous configurations in there that Eclipse is defaulting to when you choose to launch the project.

Failing that, there is an option called "Launch in debug mode whenever the workspace contains breakpoints" in the Run/Debug -> Launching preference page. You might want to check to make sure that this option is not enabled.

As a last resort when facing these kinds of quirks I will sometimes create a new project and copy over my source files (provided the project is not very large). Closing and re-launching Eclipse sometimes works wonders for me as well.


Restart the device

I was experiencing the same problem where my app was always being run in debug mode. Restarting the device did the trick for me.


Need Your Help

lua userdata with array access and object oriented access?

c lua

I'm writing a "C" userdata array structure.

Trigger with a RAISERROR and ELSE case issue

sql-server triggers datediff raiserror

I am trying to make a bit of code that takes in 2 separate columns, a month and a year. From there I want it to see if those numbers entered have already passed or not. If they have passed, cause an

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.