O'Reilly logo

Android Development Tools for Eclipse by Sanjay Shah, Khirulnizam Abd Rahman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging pane

In the debugging perspective, we see the syntax errors, warning, console messages, run-time errors, variable transition (if breakpoint is used) and LogCat. LogCat is useful to trace any activity happening inside the device or emulator. The following screenshot shows the window to list all code problems, such as warnings or syntax errors:

Debugging pane

Problems warnings or code syntax errors

A sample of console messages from the ADB is listed in the following screenshot. As a java person, we would be tempted to use System.out.println() to split out message and objects' values; which are shown in the LogCat view, however it is advisable to use Log ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required