Debugging and Profiling — Python 3.9.25 documentation

docs.python.org

Tin mới

test — Regression tests package for Python

Audit events table

Python documentation for the current stable release

Python documentation for the current stable release

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 ti

Python Module Index

3.9.25 Documentation

The Python Standard Library

bdb — Debugger framework

faulthandler — Dump the Python traceback

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