diff --git a/tools/ddms/libs/ddmlib/src/com/android/ddmlib/DeviceMonitor.java b/tools/ddms/libs/ddmlib/src/com/android/ddmlib/DeviceMonitor.java index f9d0fa070..87e023a67 100644 --- a/tools/ddms/libs/ddmlib/src/com/android/ddmlib/DeviceMonitor.java +++ b/tools/ddms/libs/ddmlib/src/com/android/ddmlib/DeviceMonitor.java @@ -748,12 +748,13 @@ final class DeviceMonitor { if (AndroidDebugBridge.getClientSupport()) { client.listenForDebugger(debuggerPort); } - client.requestAllocationStatus(); } catch (IOException ioe) { client.getClientData().setDebuggerConnectionStatus(ClientData.DEBUGGER_ERROR); Log.e("ddms", "Can't bind to local " + debuggerPort + " for debugger"); // oh well } + + client.requestAllocationStatus(); } else { Log.e("ddms", "Handshake with " + client + " failed!"); /*