Emit stack traces after a timeout to catch hangs.
Section: Signals and Crash Diagnostics
Dump traceback later with faulthandler
python
python
import faulthandler
import sys
faulthandler.dump_traceback_later(30, repeat=True, file=sys.stderr)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 Signals and Crash Diagnostics