diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DbgUtils.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DbgUtils.java index 67d237f6a..96ab11ec7 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DbgUtils.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DbgUtils.java @@ -126,6 +126,12 @@ public class DbgUtils { } } + public static void printStack( String tag, Exception ex ) + { + String stackTrace = android.util.Log.getStackTraceString(ex); + Log.d( tag, stackTrace ); + } + static String extrasToString( Intent intent ) { Bundle bundle = intent.getExtras();