Posted in 2016
Pdb Driven Development
- Dec 02, 2016
The most important command of pdb module that you should know is set_trace method, it enters the debugger at the calling stack frame at a given point in a program, and so far it’s the only piece of code that you should not be ashamed to copy-paste:
When you are in debugger there is a set of command that will help you investigate the scope: