I do not know if you used any IDE, but in eclipse you can switch to the debug mode, and change between the different threads. In each thread you can see the stack trace.