Backtracing a collection of threads

Occasionally, it may be useful to backtrace a collection of threads in
a coherent manner.
You can accomplish this by freezing all the threads, backtracing the threads,
and then unfreezing them.
For example: