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
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.
Goto Windows - > preference -> General -> perspectives -> make default your perspective or press reset to default to forget the previous settings.
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.
debug code runs a lot slower than release - Visual Studio Feedback.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With