Oh, you really need to watch this video from Google IO 2009. How to debug like a NINJA (yar). http://developer.android.com/videos/index.html#v=Dgnx0E7m1GQ
On Mon, May 10, 2010 at 2:45 PM, Trang <[email protected]> wrote: > Test > > Indicator Veritatis <[email protected]> wrote: > > >Even before running the application under the debugger, a good first > >step is to look at LogCat in the DDMS Perspective: there will probably > >be a Java Exception logged there, that Exception is what caused the > >shutdown. Look for your own source code's line number in the stack > >trace. > > > >On May 9, 2:55 pm, Ubuntu Explorer <[email protected]> wrote: > >> Sorry, Forgot to add that I want to do it from within Eclipse IDE. > >> > >> On Mon, May 10, 2010 at 6:55 AM, Ubuntu Explorer > >> <[email protected]>wrote: > >> > >> > Hi, > >> > >> > I am able to write basic android applications now. Thanks for all your > >> > help. > >> > >> > However, when there are certain runtime issues, I cannot detect them > using > >> > simulator. There is one msg that says "Unexpectedly shutdown" (I also > see > >> > this for alarm clock and other apps sometimes - though I cannot figure > out > >> > why?). > >> > >> > How to run android apps in debug mode to see where the issue is? > >> > >> > Regards > >> > UE. > >> > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Android Beginners" group. > >> > >> NEW! Try asking and tagging your question on Stack Overflow athttp:// > stackoverflow.com/questions/tagged/android > >> > >> To unsubscribe from this group, send email to > >> [email protected]<android-beginners%[email protected]> > >> For more options, visit this group athttp:// > groups.google.com/group/android-beginners?hl=en > > > >-- > >You received this message because you are subscribed to the Google > >Groups "Android Beginners" group. > > > >NEW! Try asking and tagging your question on Stack Overflow at > >http://stackoverflow.com/questions/tagged/android > > > >To unsubscribe from this group, send email to > >[email protected]<android-beginners%[email protected]> > >For more options, visit this group at > >http://groups.google.com/group/android-beginners?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android 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

