Can pdb be set to break on warnings?

LorcanM lm401 at cam.ac.uk
Wed Oct 11 05:22:55 EDT 2006


Hello,

I use pdb under Linux to debug my Python code, as in:

python -m pdb myprogram.py

By default it does a postmortem of unhandled exceptions, is there a way
to get it to break on warnings?

Thanks a lot,


 Lorcan.




More information about the Python-list mailing list