Skip to content

Instantly share code, notes, and snippets.

@fantouch
Last active December 17, 2015 01:09
Show Gist options
  • Save fantouch/5525987 to your computer and use it in GitHub Desktop.
Save fantouch/5525987 to your computer and use it in GitHub Desktop.
获取当前线程的StackTrace
// 获取当前线程的StackTrace
StackTraceElement[] elements = Thread.currentThread().getStackTrace();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment