Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: add a "goroutine apply all" function to GDB plugin #4439
The GDB plugin provides a "goroutine" command so that we can do: "info goroutines" or "goroutine 1 bt". GDB provides "info threads", "thread apply 1 bt" similarly, but also "thread apply all bt" which is nice. It seems that an option to view all backtraces would be useful, because in most situations most goroutines are blocked waiting and looking for a particular goroutine is hard. It could be called "goroutine all bt" or "goroutine apply all bt".