Question: why we use ddms in android?
Answer: DDMS acts as a middleman to connect the IDE to the applications running on the device. On Android, every application runs in its own process, each of which hosts its own virtual machine (VM). And each process listens for a debugger on a different port. ... Debugging can then process like any remote debugging session.