导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 2.7.16 Documentation »
  • Python 标准库 »

26. 调试和分析¶

这些库可以帮助你进行Python开发:调试器使你能够逐步执行代码,分析堆栈帧并设置断点等,而分析器运行代码并为你提供执行时间的详细分类,从而使你能够找出你程序中的瓶颈。

  • 26.1. bdb — Debugger framework
  • 26.2. pdb — The Python Debugger
  • 26.3. Debugger Commands
  • 26.4. The Python Profilers
    • 26.4.1. Introduction to the profilers
    • 26.4.2. Instant User’s Manual
    • 26.4.3. profile and cProfile Module Reference
    • 26.4.4. The Stats Class
    • 26.4.5. What Is Deterministic Profiling?
    • 26.4.6. Limitations
    • 26.4.7. Calibration
    • 26.4.8. Using a custom timer
  • 26.5. hotshot — High performance logging profiler
    • 26.5.1. Profile Objects
    • 26.5.2. Using hotshot data
    • 26.5.3. Example Usage
  • 26.6. timeit — 测量小代码片段的执行时间
    • 26.6.1. 基本示例
    • 26.6.2. Python 接口
    • 26.6.3. 命令行界面
    • 26.6.4. 示例
  • 26.7. trace — Trace or track Python statement execution
    • 26.7.1. Command-Line Usage
      • 26.7.1.1. Main options
      • 26.7.1.2. Modifiers
      • 26.7.1.3. Filters
    • 26.7.2. Programmatic Interface

上一个主题

25.5. test — Regression tests package for Python

下一个主题

26.1. bdb — Debugger framework

本页

  • 显示源代码

快速搜索

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 2.7.16 Documentation »
  • Python 标准库 »
© 版权所有 1990-2019, Python Software Foundation.
Python 软件基金会是一个非盈利组织。 请捐助。
Last updated on 4月 17, 2019. 发现了问题?
使用Sphinx1.8.4 创建。