git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f307f31
)
JAL-3253 adds simple stacktrace debugging
author
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Wed, 31 Jul 2019 23:50:23 +0000
(18:50 -0500)
committer
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Wed, 31 Jul 2019 23:50:23 +0000
(18:50 -0500)
src/jalview/util/Platform.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/Platform.java
b/src/jalview/util/Platform.java
index
aaadbb9
..
6d95747
100644
(file)
--- 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();
+ }
+
+ }
+
}