Implement debugger command to print backtraces of all threads