package Traces; import java.util.Map; /** * Traces */ public class Traces { public static void main(String[] args) { Map dict = Thread.getAllStackTraces(); for (Map.Entry entry : dict.entrySet()) { System.out.println(entry.getKey().getName()); for (StackTraceElement el : entry.getValue()) { System.out.println("\t" + el.toString()); } } } }