Summary

Here is what has been covered in this chapter:

  • How to set up Eclipse and your device for debugging.
  • The Debug perspective, which lets you stop an application to inspect variable values and also step through code line by line.
  • The DDMS perspective, which has quite a few tools for investigating threads, memory, and method calls, as well as taking snapshots of the screen and generating events to send to the emulator.
  • Resetting the adb server from DDMS and from the command line.
  • The Hierarchy view, which exposes the view structure of a running application and includes metrics to help you tune and troubleshoot the application.
  • Traceview, which shows the methods that are called while an application is running, as well as statistics to help ...

Get Pro Android 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.