27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# Python 101 - Debugging Your Code with pdb (Video)
|
|
|
|
> 原文:<https://www.blog.pythonlibrary.org/2022/08/19/python-101-debugging-your-code-with-pdb-video/>
|
|
|
|
Learn how to debug your Python programs using Python's built-in debugger, pdb with Mike Driscoll
|
|
|
|
In this tutorial, you will learn the following:
|
|
|
|
* Starting pdb in the REPL
|
|
* Starting pdb on the Command Line
|
|
* Stepping Through Code
|
|
* Adding Breakpoints in pdb
|
|
* Creating a Breakpoint with set_trace()
|
|
* Using the built-in breakpoint() Function - Getting Help
|
|
|
|
[https://www.youtube.com/embed/PY4TKPzR9j8?feature=oembed](https://www.youtube.com/embed/PY4TKPzR9j8?feature=oembed)
|
|
|
|
This video is based on a chapter from the book, Python 101 by Mike Driscoll
|
|
|
|
* [Leanpub](https://leanpub.com/py101) (eBooks)
|
|
* [Amazon](https://amzn.to/2Zo1ARG) (Kindle / Paperback)
|
|
|
|
## Related Articles
|
|
|
|
* [Python 101 - Debugging Your Code with pdb](https://www.blog.pythonlibrary.org/2020/07/07/python-101-debugging-your-code-with-pdb/)
|
|
|
|
* [Python 101: Episode #24 - Debugging with pdb](https://www.blog.pythonlibrary.org/2018/09/11/python-101-episode-24-debugging-with-pdb/) |