Debugging Code with pdb
This video explores using the built-in pdb module to debug Python code. It discusses basic pdb commands and capabilities, such as setting breakpoints, stepping through code, and working with local variables. The video also emphasizes the importance of using debugging commands carefully in a production environment.
00:00:00 Introduction to pdb
00:00:36 Starting the debugger without an IDE
00:01:08 Basic pdb commands
00:01:48 Stepping through code
00:02:23 Working with the call stack
00:03:28 Setting breakpoints
00:04:33 Conditional breakpoints
00:05:05 Continuing code execution
00:06:07 Navigating the stack
00:07:11 Problems with debugging large projects
00:08:13 Using the built-in breakpoint function
00:09:16 Benefits of debugging code
00:09:48 Stopping debugging and printing code
00:10:48 The importance of removing debug code
00:12:20 Understanding complex projects with pdb
00:13:23 Conclusion and Programmer's superpowers
Subscribe to my Telegram channel https://t.me/kashkin_me for additional materials and tips from the channel's author.
Go to the lesson page with explanations and quizzes https://www.pylot.me/course/step3/deb...
On this page of the site you can watch the video online Debugging code with pdb with a duration of hours minute second in good quality, which was uploaded by the user Mikhail Kashkin 01 March 2026, share the link with friends and acquaintances, this video has already been watched 30 times on youtube and it was liked by 1 viewers. Enjoy your viewing!