导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • 3.2.6 Documentation »
  • The Python Standard Library »
  • |

26. 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.

  • 26.1. bdb — Debugger framework
  • 26.2. pdb — The Python Debugger
    • 26.2.1. Debugger Commands
  • 26.3. The Python Profilers
    • 26.3.1. Introduction to the profilers
    • 26.3.2. Instant User’s Manual
    • 26.3.3. What Is Deterministic Profiling?
    • 26.3.4. Reference Manual – profile and cProfile
      • 26.3.4.1. The Stats Class
    • 26.3.5. Limitations
    • 26.3.6. Calibration
    • 26.3.7. Extensions — Deriving Better Profilers
  • 26.4. timeit — Measure execution time of small code snippets
    • 26.4.1. Basic Examples
    • 26.4.2. Python Interface
    • 26.4.3. Command-Line Interface
    • 26.4.4. Examples
  • 26.5. trace — Trace or track Python statement execution
    • 26.5.1. Command-Line Usage
      • 26.5.1.1. Main options
      • 26.5.1.2. Modifiers
      • 26.5.1.3. Filters
    • 26.5.2. Programmatic Interface

上一个主题

25.5. test — Regression tests package for Python

下一个主题

26.1. bdb — Debugger framework

本页

  • 显示源代码

快速搜索

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • 3.2.6 Documentation »
  • The Python Standard Library »
  • |
© 版权所有 1990-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 8月 10, 2025.
Created using Sphinx 1.8.4.