title: Getting stacktrace of all threads without attaching GDB
body: <p>Is there a way to print stacktrace of all threads without attaching GDB?</p>
  
  <p>Or is there a command which I can use as gdb batch mode to print stacktrace of all threads?</p>