Tuesday, January 4, 2011

[android-developers] Re: How do you Debug a Live Wallpaper

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 <johnlussmyer@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment