How to stop debugging in an Android app in Eclipse

I am writing a simple Android application. I changed the perspective of Java EE to "debug" and after tracking the variables, I will return to the original perspective ("Java EE") and stopped debugging. But when I try to run the application on my phone, it automatically changes perspective to debug and go to the first breakpoint.
In the debug window, it shows: debugging

DalvikVM[localhost:8600]    
    Thread [<1> main] (Suspended (breakpoint at line 23 in FirstActivity))  
        FirstActivity.onCreate(Bundle) line: 23 
        Instrumentation.callActivityOnCreate(Activity, Bundle) line: 1047   
        ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2627  
        ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2679   
        ActivityThread.access$2300(ActivityThread, ActivityThread$ActivityRecord, Intent) line: 125 
        ActivityThread$H.handleMessage(Message) line: 2033  
        ActivityThread$H(Handler).dispatchMessage(Message) line: 99 
        Looper.loop() line: 123 
        ActivityThread.main(String[]) line: 4627    
        Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]  
        Method.invoke(Object, Object...) line: 521  
        ZygoteInit$MethodAndArgsCaller.run() line: 871  
        ZygoteInit.main(String[]) line: 629 
        NativeStart.main(String[]) line: not available [native method]  
    Thread [<7> Binder Thread #2] (Running) 
    Thread [<6> Binder Thread #1] (Running) 

Could you please help me how to get rid of this debugging perspective?

Sincerely.

+5
source share
4 answers

? , , Run As... Android Application, Debug As... Android Application. , , Run As Eclipse - Ctrl + F11?

+1

:

  • , , " ", " "
  • , ( "" )
+10

FirstActivity.onCreate(Bundle) line: 23

, Eclipse, Debug.

+1

, , .

I found the answer to another StackOverflow: Restart your debugging device.

(Do not turn off the power, and then select "Reboot"). It worked for me.

0
source

All Articles