PyDocs

Nav

Debugging and profiling

dump_traceback

faulthandler

function
  • dump_traceback(file=sys.stderr, all_threads=True, *, max_threads=100)
Dump the traceback of the current thread into file.

Dump the traceback of all threads if all_threads is true. max_threads
caps the number of threads dumped.
Changed in 3.5, 3.15
  • 3.5: Added support for passing file descriptor to this function.
  • 3.15: Added the max_threads keyword argument.
0 Examples
No examples for faulthandler/dump_traceback.
See Also
No see-alsos for faulthandler/dump_traceback
0 Notes
No notes for dump_traceback