Eclipse always starts my app on debug mode even though i click the regular "run" button...
Any ideas?
You can disable the confirmation dialog in Eclipse's preferences: Window > Preferences > Run/Debug > Launching: uncheck "Prompt for confirmation when removing a configuration from the launch history".
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.
When you're debugging, Eclipse will stop at breakpoints and allow other debugging actions (view running threads, etc.). When you run, it won't. If you start by selecting "Run", you can later attach the debugger through the Device view. That will switch to "Debug" mode.
In the navigation view, choose Process Table. Select the relevant server process and, from the context menu, choose Stop Debug Session. In the Stop Debug Session dialog box, choose the debug entry for which you want to disable the debug mode.
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
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