I’ve been playing around with Google’s Android mobile operating system for the past month as part of a post-masters project I’m doing at the University of Auckland. Though there are tons of articles and tutorials to get things started at the official Android Developer Center, you can easily get lost when finding how to do some of the simplest of tasks.
Knowing how to debug your mobile applications is one of the fundamental things you should know as an Android (or any) developer. I use Eclipse IDE for development purposes, and the document simply states that I can view log messages from the “Log Cat” view. Few hours into development, I noticed that sometimes my log statements are not displayed in the Log Cat view at all.
In this article, I am giving a step-by-step guide on how to start debugging an Android application using the Eclipse IDE, along with how to write bebug statements and view them during run-time using the Log Cat view. Hopefully this guide will shave few hours off wondering around endless forums on the internet, trying to figure out how to get those log messages to show up!
Continue reading →