Logo

上一个主题

test ——python回归测试包

下一个主题

审核事件表

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • python logo
  • Python »
  • 3.10.0a4 Documentation »
  • python标准库 »
  • 调试和分析
  • |

调试和分析¶

这些库帮助您开发python:调试器允许您单步执行代码、分析堆栈帧和设置断点等,分析器运行代码并给出详细的执行时间分解,允许您识别程序中的瓶颈。审计事件提供对运行时行为的可见性,否则这些行为将需要侵入性调试或修补。

  • 审核事件表
  • bdb ---调试器框架
  • faulthandler ---转储python回溯
    • 丢弃回溯
    • 故障处理程序状态
    • 超时后转储跟踪
    • 在用户信号上转储跟踪
    • 文件描述符问题
    • 例子
  • pdb ---Python调试器
    • 调试器命令
  • python分析程序
    • 简介
    • 即时用户手册
    • profile 和 cProfile 模块参考
    • 这个 Stats 等级
    • 什么是确定性分析?
    • 局限性
    • 校准
    • 使用自定义计时器
  • timeit ---测量小代码段的执行时间
    • 基本实例
    • python接口
    • 命令行界面
    • 实例
  • trace ---跟踪或跟踪python语句执行
    • 命令行用法
      • 主要选项
      • 修饰语
      • 过滤器
    • 程序接口
  • tracemalloc ---跟踪内存分配
    • 实例
      • 显示前10个
      • 计算差异
      • 获取内存块的回溯
      • 漂亮的陀螺
        • 记录所有跟踪内存块的当前大小和峰值大小
    • API
      • 功能
      • DomainFilter
      • 滤波器
      • 框架
      • 快照
      • 统计的
      • StatisticDiff
      • 跟踪
      • 追溯

上一个主题

test ——python回归测试包

下一个主题

审核事件表

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • python logo
  • Python »
  • 3.10.0a4 Documentation »
  • python标准库 »
  • 调试和分析
  • |
© 版权 2001-2021, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 10月 23, 2021. Found a bug?
Created using Sphinx 4.2.0.