Hello,

OK, I have made a mistake. I had added "android:process=":remote"" in
the manifest file, for the declaration of second service binded by the
first service. The second service is never created, perhaps because
the two services belong to the same program and thus two processes of
the same program can't run at the same time (is it the case?).

I have removed "android:process=":remote" from the manifest file and
the two services run correctly, Eclipse displays well the logs and
stops at all the breakpoints.

thanks.

On 8 juil, 19:59, fadden <[email protected]> wrote:
> On Jul 8, 9:06 am, Pamplemousse Mk2 <[email protected]>
> wrote:
>
> > I have written a program which start a service which bind to another
> > service. The two services run in two processes. The problem is that
> >Eclipsedoes not stop at the breakpoints of the second service (which
> > does not run in the main application process), and I can't see any log
> > written with Log() class in that service.
>
> > Is there a way to trace or debug other processes that the main one
> > withEclipse?
>
> With stand-alone DDMS, you pick the application you want the debugger
> to connect to.  You can connect a debugger to the first app, select
> the second, and connect a debugger to it as well.  Eclipseand DDMS
> should both be able to deal with this situation.
>
> If you're not sure what process you need to connect to, check the
> process IDs in the logcat output.
>
> You may be able to do this from the SDK /Eclipseplugin too.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to