### Question:
AndroidDebug { public static boolean isDebugging() { return Debug.isDebuggerConnected(); }  static boolean isDebugging();  }### Answer:
@Test public void isDebugging() { long startTime = SystemClock.elapsedRealtime(); for (int i = 0; i < 1000; i++) { AndroidDebug.isDebugging(); } Log4Test.d(String.format("AndroidDebugTest isDebugging cost %sms for 1000 times.", SystemClock.elapsedRealtime() - startTime)); }