0

I've read some questions asking for help on debugging AsyncTasks, related to problems of breakpoints within. However, I'm interested in how you proceed to debug the entire application and navigate through parallel threads (such as AsyncTask). I'm specially interested in, for example, what to do when in your code a new XTask.execute() sentence follows, you want to debug it in, and then return to the UI Thread. Sorry for the generality of the question.

EDIT: I'm considering some help as in Multithread Debugging in Eclipse

Community
  • 1
  • 1
Truncarlos
  • 175
  • 2
  • 7
  • Which problems do you have? read AsyncTask-s documentation and lifecycle http://developer.android.com/reference/android/os/AsyncTask.html – Veaceslav Gaidarji Dec 14 '12 at 10:25
  • If u can't debug background service or smth like this, write "android.os.Debug.waitForDebugger();" and Eclipse should pause here (no matter - is there breakpoint, or no) – Veaceslav Gaidarji Dec 14 '12 at 10:28

0 Answers0