From: hansonr Date: Wed, 31 Jul 2019 23:50:23 +0000 (-0500) Subject: JAL-3253 adds simple stacktrace debugging X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=208c3f5787135dad576950fd4be90bd4b9457f1c;p=jalview.git JAL-3253 adds simple stacktrace debugging --- diff --git a/src/jalview/util/Platform.java b/src/jalview/util/Platform.java index aaadbb9..6d95747 100644 --- a/src/jalview/util/Platform.java +++ b/src/jalview/util/Platform.java @@ -853,4 +853,16 @@ public class Platform null); } + public static void stackTrace() + { + try + { + throw new NullPointerException(); + } catch (Exception e) + { + e.printStackTrace(); + } + + } + }