This video is about how to debug Python code with standard Python Debugger or just PDB or Python PDB.
How to use PDB commands for debugging Python code.
Follow me
Telegram:
Twitter:
Facebook:
Timecodes:
00:00 - Why debugging?
01:00 - Description of the Python script under debugging
02:19 - Initial Python PDB output explanation
03:13 - Python PDB commands expanation starting
03:52 - PDB 'next' or 'n' command to jump to next line
04:57 - PDB aliases. How to create and save PDB alias in .pdbrc file
07:40 - 'p' for print, and 'pp' for pretty print for Python lists and dictionaries
09:03 - PDB Post Mortem mode
09:56 - PDB 'a' for 'args' command to see arguments of a function
10:56 - Using of PDB breakpoints and the 'c' command
12:56 - PDB watch list for breakpoint with PDB 'commands' command
15:24 - PDB 's' for 'step' [step into]
15:55 - PDB stack trace with 'where' command, 'u' and 'd' for navigating through the stack trace
17:23 - PDB interact command for Python shell
17:42 - PDB conditional breakpoint (breakpoint with a condition)
Python debugging with Python PDB - commands, post mortem and much more | Python PDB tutorial