Python Debugging With pdb
Austin Cepalia
11 Lessons
36m
intermediate
python
tools
Nowadays, we often take for granted the excellent debuggers built into our favorite IDEs. But how do you debug your Python code when you donβt have the luxury of using an IDE?
pdb, short for Python DeBugger, is a module for interactive source code debugging. Itβs built into the Python Standard Library, so itβs always accessible to you. Because it runs in the command line, itβs especially helpful when youβre developing on remote systems.
In this course, youβll learn how to perform the most common debugging tasks using pdb, including setting breakpoints, stepping through code, viewing stack traces, creating watch lists, and more.
Free Bonus: Click here to get a printable "pdb Command Reference" (PDF) that you can keep on your desk and refer to while debugging.
Python Debugging With pdb
11 Lessons 36m
2. Getting Started With pdb (04:14)
3. Printing Expressions (03:46)
4. Stepping Through Code (02:39)
5. Working With Breakpoints (05:18)
6. Continuing Execution (03:13)
7. Displaying Expressions (03:03)
8. Stack Frames and Stack Traces (04:22)
9. Working With Stack Traces (02:11)
10. PDB++ (03:41)
About Austin Cepalia
Austin is a video tutorial author at Real Python. He's currently a sophomore working toward a degree in computer science at Rochester Institute of Technology.
Β» More about Austin



