Collect all-thread backtraces from a live process.
Section: Debuggers and Core Dumps
Batch backtrace with gdb
bash
bash
gdb -batch -ex "thread apply all bt" -p 1234Explanation
Collect all-thread backtraces from a live process.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Debuggers and Core Dumps