saarraz1
saarraz1

Reputation: 3029

Eclipse runs debug mode even when I click "run"

Eclipse always starts my app on debug mode even though i click the regular "run" button...

Any ideas?

Upvotes: 23

Views: 12862

Answers (5)

user1978019
user1978019

Reputation: 3336

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.

Upvotes: 4

Paul Carff
Paul Carff

Reputation: 416

I found that I had to reboot my Xoom to get it to work properly again.

Upvotes: 24

Jimmy
Jimmy

Reputation: 31

try to select Run -> Remove All Breakpoints, and run your project again

Upvotes: 3

Haphazard
Haphazard

Reputation: 10948

Restart Eclipse and the emulator. That always works for me.

Upvotes: 0

Houcine
Houcine

Reputation: 24181

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

Upvotes: 0

Related Questions