As we know, an Android* developer wears many hats: designer, code monkey, and, inevitably, troubleshooter. Bugs in code are inevitable—so it's important to know the debugging tools and how to quickly and effectively track them down and fix them, whether you created the bugs initially or otherwise. Therefore, effective debugging techniques are an essential skill for today’s Android developers. This article provides a walk-through of Android application debugging tools and is designed to help developers new to the Android SDK and related tools get up to speed faster and resolve defects more effectively on Android x86 platform.
The Android SDK provides most of the tools that you need to debug your applications. You need a JDWP-compliant debugger if you want to be able to do things such as step through code, view variable values, and pause execution of an application. If you are using Eclipse, a JDWP-compliant debugger is already included, and no setup is required. If you are using another IDE, you can use the debugger that comes with it and attach the debugger to a special port so it can communicate with the application VMs on your devices.
Page viewed 4756 times since Tue 12 Jun 2012, 23:42.