I put some break points in my doInBackground() code of AsyncTask class. But when I am debugging the application, control is not going over doInBackground(). Please help me regarding this.
Put the following code fragment in the beginning of doInBackground
:
android.os.Debug.waitForDebugger();
Then when you set a breakpoint in that thread, eclipse will find it.
In your emulator,
Now try running the app 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