Created
January 14, 2019 02:58
-
-
Save foundkey/06fcbbaea87e4d71fc1cb18e4e9ea885 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void getCurFun() { | |
Thread thread = Thread.currentThread(); | |
StackTraceElement traceElement[] = thread.getStackTrace(); | |
for (int i = 0; i < traceElement.length; ++i) { | |
System.out.println(i + ": " + traceElement[i].toString()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment