News

Python debugger example The pdb module is part of the Python standard library, so doesn’t need to be installed separately; it can be invoked straight out of the box. Here is a simple example of ...
At the pdb prompt, we’ll call locals() to dump the current local scope. The pdb has a shedload of useful commands, but you can also run normal Python in it as well. $ python breakpoint_test.py ...