Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 480
Jason Rogers Avatar asked Dec 03 '10 04:12

Jason Rogers


People also ask

How do I fix debugging in Eclipse?

A Java program can be debugged simply by right clicking on the Java editor class file from Package explorer. Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead. Either actions mentioned above creates a new Debug Launch Configuration and uses it to start the Java application.

How do I change the default debug in Eclipse?

Goto Windows - > preference -> General -> perspectives -> make default your perspective or press reset to default to forget the previous settings.

Why is Eclipse not stopping at breakpoints?

The solution was to enable it again, start a debug session, the breakpoint is hit and shown in the UI, then disable again the option. There is also another simpler way that will make Eclipse show the debugging highlight at the breakpoint or rather refresh the debugging UI to work as it should.

Is running in debug mode slower?

debug code runs a lot slower than release - Visual Studio Feedback.


1 Answers

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.

like image 196
Brian Wigginton Avatar answered Sep 22 '22 21:09

Brian Wigginton