On Fri, Jul 2, 2010 at 11:50 AM, Bret Foreman <bret.fore...@gmail.com> wrote:
> When my ListActivity is active and I press the "back" button (in the
> Droid simulator), my application stops with a runtime exception. The
> stack trace looks like this:
>
> ActivityThread.performDestroyActivity(IBinder, boolean, int, boolean)
> line: 3421
> ActivityThread.handleDestroyActivity(IBinder, boolean, int, boolean)
> line: 3487
> ActivityThread.access$2800(ActivityThread, IBinder, boolean, int,
> boolean) line: 119
> BinderProxy(ActivityThread$H).handleMessage(Message) line: 1896
> ActivityThread$H(Handler).dispatchMessage(Message) line: 99
> Looper.loop() line: 123
> ActivityThread.main(String[]) line: 4363
> Method.invokeNative(Object, Object[], Class, Class[], Class, int,
> boolean) line: not available [native method]
> Method.invoke(Object, Object...) line: 521
> ZygoteInit$MethodAndArgsCaller.run() line: 860
> ZygoteInit.main(String[]) line: 618
> NativeStart.main(String[]) line: not available [native method]

There is probably more to your stack trace than this. Usually stack
traces have an exception, for example.

> I verified with breakpoints in the debugger that the ListActivity
> "onDetroy" method is never being called. What should be my next
> debugging step?

Continue reading your stack trace. Look for the "Caused by:" line to
find out the actual exception.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to