Right, you should probably learn to use the debugger.

It's not long, there's not much to it. Try messing around with it for a
while and figure it out. It's a good way to find out what your code is
"really doing."

On Sun, Apr 3, 2011 at 10:38 PM, TreKing <[email protected]> wrote:

> On Sun, Apr 3, 2011 at 9:11 PM, Alaeddine Ghribi <
> [email protected]> wrote:
>
>> So i put a breakpoint in the catch line and in the debugger i think that i
>> have the right variables:
>
>
> Put a break at the *start* of your code and *step through* line by line
> until you hit the line that causes the exception.
>
> OR
>
> Print the message the exception gives you (ex.getMessage()) to find out
> what file is giving the error.
>
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> 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
>

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