• Latest Code...

    Android Debugging Tips

    I can't see anything in the LogCat or otherwise useful information elsewhere to find out what's gone wrong.
    Look harder. Every crash generates something in LogCat.
    The only thing I see is some kind of exception.
    That would be "what's gone wrong". The stack trace will show you the line of code where your bug resides, and the exception will give you information about what has gone wrong.
    This is unacceptable and makes Android programming nearly impossible
    Tens of thousands of other developers do not have a problem with this. And, since the same thing occurs in Java applications (exceptions and stack traces), millions of developers worldwide have not had a problem with this. Logged exceptions with stack traces are also used in many other languages and are considered a rather commonplace technique in software development.

    Aanswers gives by http://stackoverflow.com/users/115145/commonsware

    No comments:

    Post a Comment


    Most recent Elastic Search tutorials for beginner, intermediate and advance level developer, Yubraj Pokharel, in CodingWorkspace