paint-brush
使用 Pdb 进行 Python 调试简介经过@terieyenike
2,327 讀數
2,327 讀數

使用 Pdb 进行 Python 调试简介

经过 Teri Eyenike4m2022/08/24
Read on Terminal Reader
Read this story w/o Javascript

太長; 讀書

Python 调试器 (pdb) 是 Python 程序的交互式源代码调试器。它提供了附加功能,例如设置条件断点、逐行遍历源代码以及检查特定行及其调用堆栈的变量。本文将解释调试器工具 `pdb` 如何在测试期间和交付给用户之前检查和分析您的代码以使其符合行业标准。内置 pdb 是 Python 在安装工作工具时附带的标准库的一部分。它为您提供了在测试程序时可以使用的其他几个命令。
featured image - 使用 Pdb 进行 Python 调试简介
Teri Eyenike HackerNoon profile picture
Teri Eyenike

Teri Eyenike

@terieyenike

I am a frontend developer with a particular interest in making things simple and usable.

學到更多
LEARN MORE ABOUT @TERIEYENIKE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Teri Eyenike HackerNoon profile picture
Teri Eyenike@terieyenike
I am a frontend developer with a particular interest in making things simple and usable.

標籤

Languages

这篇文章刊登在...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite