I looked at making a new remote application, but how do I know what
port to use and what do I put in for the host?  I'm debugging it on my
phone since the emulator's camera doesn't work for me.

I'll try using Log.v too maybe I can figure it out with that.

On May 23, 11:21 am, Kacee <komal...@gmail.com> wrote:
> You said your debugger detaches as soon as your activity gets killed.
> Check if activity for camera and activity for your usual app runs in
> separate process. You can check that in DDMS view in eclipse.
>
> If thats the case, then you would need to do Debug Configurations ->
> New remote Application -> Set up port no on which your process runs,
> then your debugger wont get detach.
>
> First confirm if your complete app runs in multi process environment.
>
> On May 23, 6:57 am, Zsolt Vasvari <zvasv...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Log.v() is your friend.  I tend to use it more than the debugger since
> > half the time I change any xml, my app crashes due to the Eclipse plug-
> > in problem.  Since it's so useful, I went back to the primitive way of
> >debuggingunless I really can't figure out what's going on.
>
> > On May 23, 9:46 am, Kevin <khant...@hotmail.com> wrote:
>
> > > I have an activity that launches the built in camera activity to
> > > capture a picture.  My activity is often killed while the camera is
> > > running, so I'm using onSaveInstanceState and onRestoreInstanceState
> > > to save field values.
>
> > > Anyway, it crashes while restoring the state, but when it's killed the
> > > debugger detaches, so when it's restarted after the camera is done, I
> > > don't have a debugger to see what's causing the crash.  I know what
> > > function is causing the crash but I can't see the problem just looking
> > > at it.
>
> > > Any ideas?  Is there a way to get a core dump after the crash and run
> > > the debugger on that?
>
> > > Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to