When debugging a program with a real machine, the Eclipse console always appears with the following error "ADB connection error: The remote host forced the shutdown of an existing connection."
[2013-07-12 10:37:36-devicemonitor] ADB Connection Error: The remote host forced the shutdown of an existing connection. [2013-07-12 10:37:38-devicemonitor] Connection attempts:1
The problem occurs because this is caused by the DDMS call to ADB. After a search, it was discovered that this is a limitation of the ADB in the Windows environment, which can also be said to be a bug. When the number of simultaneous processes running on the phone is greater than 64 o'clock, the ADB is thrown. The deeper reason is that the maximum number of handles supported by the Windows API WaitForMultipleObjects is maximum_wait_objects, or 64.
Workaround: Ddms→devices→reset adb
ADB Connection Error: The remote host forced the shutdown of an existing connection workaround