Doug,
The trick is, once you see in Eclipse that the application crashed, hit
"run" button (the yellow-green triangular arrow).
This lets the exception propagate to Android framework, and after that
you get the stack trace in logcat. This includes the original cause for
the exception. Look for the lines starting with "Caused by:".
-- Kostya
08.09.2010 18:00, Doug Gordon пишет:
An Eclipse question, I know, but maybe some Android-specific
considerations. When I'm in Eclipse and running my app in debug mode,
if it halts due to a runtime exception, where can I look to find the
java source line number that was executing at the time?
I've been able to find the error message, which often leads me to the
general area of the faulty code, but it would be nice to get an actual
line number (sometimes TMI in the Eclipse windows when I'm looking for
the basic facts!).
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
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