Debugging on Android


ISA 673, OS Security

Rahul Murmuria

Goal of this tutorial

Starting to Debug

Starting to Debug

Getting to know DDMS

  • Standalone or as a perspective within Eclipse
  • Shows logcat messages (V), (E), (I): verbose, error and info
  • Devices panel has list of all devices with processes having debgging=true set
  • pid and forward ports listed for every process, so that they can be monitored remotely

Getting to know DDMS


Placing Breakpoints

Placing Breakpoints

Eclipse Debug Perspective

Eclipse Alternatives

Eclipse Alternatives

Profiling


Emacs as an IDE

Different Screen sizes


Experiment at will!



Questions?