JAL-3253 adds simple stacktrace debugging
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Wed, 31 Jul 2019 23:50:23 +0000 (18:50 -0500)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Wed, 31 Jul 2019 23:50:23 +0000 (18:50 -0500)
src/jalview/util/Platform.java

index aaadbb9..6d95747 100644 (file)
@@ -853,4 +853,16 @@ public class Platform
     null);
   }
 
+  public static void stackTrace()
+  {
+    try
+    {
+      throw new NullPointerException();
+    } catch (Exception e)
+    {
+      e.printStackTrace();
+    }
+
+  }
+
 }