Here is how I debug multiple processes on Android.

Start the Android application.

Open DDMS perspective (open Window menu-> Open Perspective -> Other… then select DDMS).

Select the processes I want to debug in the Devices window and click debug icon on the tool bar in the same window. The icon looks like a green bug.

Here is a screenshot.

I am using Eclipse 3.5.1, Android ADT 8.0.1

To debug initialization code, you may want to use Debug.waitForDebugger method.

Find more about Android Debug methods at the official Android Dev Guide site.

Ray (Ruiguo) Yang
Check out my other blogs
Subscribe to my blog RSS feed
twitter me @rayyangcitrix
email me at ray dot yang at citrix dot com