i am running my app in the debugger.  when I hit the red square (in
eclipse) on the debug tab -- to stop debugging, I get this in the
logcat window:

09-10 06:55:52.248: WARN/ActivityManager(83): Scheduling restart of
crashed service com.testapp/MyApp/com.testapp.service.MyService in
5000ms

and then it attaches the debugger to another instance of my app...
this is a local service.

On Sep 10, 6:55 am, sdphil <[email protected]> wrote:
> C:\dev\testApp> adb shell dumpsys service
> Can't find service: service
>
> C:\dev\testApp> adb shell dumpsys MyService
> Can't find service: MyService
>
> On Sep 10, 12:28 am, Dianne Hackborn <[email protected]> wrote:
>
> > What is in the log?  What does it say about your service in "adb shell
> > dumpsys service"?
>
> > On Thu, Sep 9, 2010 at 11:45 PM, sdphil <[email protected]> wrote:
> > > From what I can tell -- if you return START_NOT_STICKY from
> > > Service.onStartCommand(...), the system should not restart a service
> > > if it crashes.
>
> > > However, I'm not seeing that behavior -- any ideas on what could be
> > > restarting the service?
>
> > > tia.
>
> > > --
> > > 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]<android-developers%[email protected]>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > --
> > 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, and so won't reply to such e-mails.  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

Reply via email to