JAL-3253 adds simple stacktrace debugging
[jalview.git] / 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();
+    }
+
+  }
+
 }