It can be pretty awkward -- you need to manually connect to the process you want to debug (ddms will tell you the port number to connect to), and then you can pause threads and have your breakpoints for code running there be hit.
Why are you having your service run in a separate process? This is not generally something people should be doing, since it require a lot more overhead. On Mon, Dec 15, 2008 at 11:17 PM, mnj <[email protected]> wrote: > > Hi, > > I have a activity and service which are running as a seperate process. > I'm able to see the logs of activity(process1) and service(process2) > in logcat. > > But when I keep breakpoint in service process its not hitting there. > Breakpoint works only in activity process. > > Can someone tell me how can I debug multi process in eclipse. > Currently, for debugging purpose I'm making service and activity to > run as same process. > > Regards, > Manoj > > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

