public static void printStackTrace(Throwable e){
  try {
    Debug.printStackTrace(e);
  }
 catch (  Throwable f) {
    e.printStackTrace();
  }
}

public static void printStackTrace ( Throwable e ) { try { Debug . printStackTrace ( e ) ; } catch ( Throwable f ) { e . printStackTrace ( ) ; } }
used in environments where full debug may not be available
