Debugging & Profiling Articles
Audit events table
This table contains all events raised by
calls throughout the CPython runtime and the standard library. These calls were added in 3.8.0 or later.
bdb — Debugger framework
faulthandler — Dump the Python traceback
This module contains functions to dump Python tracebacks explicitly, on a fault, after a timeout, or on a user signal. Call
to install fault handlers for the
SIGILL signals. You can also enable them at startup by setting the
environment variable or by using the
faulthandler command line option.
pdb — The Python Debugger
The Python Profilers
timeit — Measure execution time of small code snippets
trace — Trace or track Python statement execution
tracemalloc — Trace memory allocations