Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python v2.6 documentation »
  • The Python Standard Library »

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.

  • bdb — Debugger framework
  • pdb — The Python Debugger
  • Debugger Commands
  • How It Works
  • The Python Profilers
    • Introduction to the profilers
    • Instant User’s Manual
    • What Is Deterministic Profiling?
    • Reference Manual – profile and cProfile
      • The Stats Class
    • Limitations
    • Calibration
    • Extensions — Deriving Better Profilers
  • hotshot — High performance logging profiler
    • Profile Objects
    • Using hotshot data
    • Example Usage
  • timeit — Measure execution time of small code snippets
    • Command Line Interface
    • Examples
  • trace — Trace or track Python statement execution
    • Command Line Usage
    • Programming Interface

Previous topic

test — Regression tests package for Python

Next topic

bdb — Debugger framework

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python v2.6 documentation »
  • The Python Standard Library »
© Copyright 1990-2008, Python Software Foundation. Last updated on Oct 02, 2008. Created using Sphinx 0.5.