For mine I've put a call to android.os.Debug.waitForDebugger() in
onCreate() so it will wait for the debugger to attach before executing
any further code. This works when I'm using Eclipse to install the app
on the phone and then the wallpaper settings on my phone to activate
it.

On Jan 5, 5:29 am, John Lussmyer <[email protected]> wrote:
> Well, I just went through my code several times, and found the 1 character
> typo that was causing my onXXXXchanged() method to be hung in an infinite
> loop.
> There doesn't seem to be any way to use the debugger to find this kind of
> problem, as it just won't connect.
>
> On Tue, Jan 4, 2011 at 3:12 PM, John Lussmyer <[email protected]>wrote:> 
> I'm trying to write a Live Wallpaper, but have a problem.
> > The debugger won't.  Won't attach or debug when launching the wallpaper.
> > I can see from the logcat when I restart the Emulator that my wallpaper is
> > crashing.
> > There is a msg showing it being installed, then uninstalling, then force
> > removing, then a WIN DEATH.
> > No Exception report.
>
> > Any ideas on how I can find out what is dieing?

-- 
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