Created
June 3, 2016 21:04
-
-
Save lorenzoongithub/01fdf87f9f1a4c60a41ba529d9cd534e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// | |
// Prints all threads | |
// | |
var threads = java.lang.Thread.getAllStackTraces().keySet().toArray(); | |
var str =''; | |
for (var i=0;i<threads.length;i++) { | |
str+=threads[i]+' - '+threads[i].getState()+'\n'; | |
} | |
str; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
کس عمت