The Eclipse debugger does support multi-thread debugging, but I can't say I am all that impressed with the support for it. When, for example, you set a breakpoint, you have no control over which thread is running when it hits it. Whatever thread is running, it will stop when it reaches that breakpoint.
Now it sounds like the thread you are concerned about runs its own code, and in only one background thread. So the above is not your problem. What might be your problem though, is that it does stop at the breakpoint, but then you lose the information when your foreground thread stops on its own breakpoint. Try removing/disabling all breakpoints except the one in the background thread. As long as you actually do reach that line in that thread, it should stop there. On Apr 27, 12:36 pm, Tobiah <[email protected]> wrote: > > No, I have no trouble at all with breakpoints in a multithreaded > > application. > > > Note that Eclipse only pauses one thread at a time, which means that > > other threads keep running while you're stopped at a breakpoint. > > > Sometimes this complicates debugging, sometimes helps (since the UI > > thread keeps running). > > > There may be a setting somewhere in Eclipse to pause all threads, but > > I've never bothered to look. > > I can set a breakpoint in my first Activity during say onCreate() and > the debugger stops there, and shows me the line. I have another thread > that I know is running because of a successful web fetch that it > performs, but the debugger never shows me that file. I continue to > see the results from the background thread in the UI, but the breakpoint > never seems to be honored. > > I do see a list of threads in one of the top windows. Am I supposed to > switch context in there somehow? > > Thanks, > > Tobiah -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

