File: //proc/self/root/tmp/python-build.20241125193944.32536/Python-3.10.4/Doc/library/debug.rst
***********************
Debugging and Profiling
***********************
These libraries help you with Python development: the debugger enables you to
step through code, analyze stack frames and set breakpoints etc., and the
profilers run code and give you a detailed breakdown of execution times,
allowing you to identify bottlenecks in your programs. Auditing events
provide visibility into runtime behaviors that would otherwise require
intrusive debugging or patching.
.. toctree::
audit_events.rst
bdb.rst
faulthandler.rst
pdb.rst
profile.rst
timeit.rst
trace.rst
tracemalloc.rst