Eclipse stuck in running program

This image is after completing the eclipse task.

enter image description here

There are no errors in my Android program, and everything was in order before this problem. This happened when I added the code to my program. It gets stuck after pressing the start button. This also happens when I run my hand-held phone to debug a program. Other programs work fine, only one stuck.

the meaning of my stuck is an eclipse keep show progress bar launching myprogram (100%), but there was no emulator in it.

enter image description here

, , classes.dex, , , , . -, , , .

- , .

    //check internet connection
private boolean chkConnectionStatus(){
    ConnectivityManager connMgr = (ConnectivityManager)
    this.getSystemService(Context.CONNECTIVITY_SERVICE);

    final android.net.NetworkInfo wifi =
    connMgr.getNetworkInfo(ConnectivityManager.TYPE_WIFI);

    final android.net.NetworkInfo mobile =
    connMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);

    if( wifi.isAvailable() ){     
      return true;
     }
        else if( mobile.isAvailable() ){      
          return true;        
     }
     else
     { 
         Toast.makeText(this, "Check your internet" , Toast.LENGTH_LONG).show();
         return false;
     }
}
0
4
, .
+2
  • . ( , , .java โ†’ โ†’ Local History.)

- > , . .

0

Windows, . , Process Explorer, .

Eclipse , -console -consoleLog -debug , .

[] Eclipse . , "" Eclipse. , Process Explorer, Eclipse, " " "" ( Eclipse) .

Eclipse:

  • . .
  • Killing Eclipse .
0

Eclipse ( -console -consoleLog -debug Aaron). , , Eclipse ( . http://www.eclipse.org/eclipse/platform-core/documents/3.1/debug.html):

Eclipse , , , Eclipse , . :

. . . /.metadata/.log.

. . (, , ). . (/.log)

Eclipse java.exe javaw.exe(, eclipse -vm\jre\bin\java.exe eclipse.ini), , Eclipse.

The link mentioned above ( http://www.eclipse.org/eclipse/platform-core/documents/3.1/debug.html ) should provide you with enough options to find out what is going on in Eclipse.

0
source

All Articles