Fredrik Lundh wrote: > LorcanM wrote: > > > 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? > > is > > python -m pdb -Werror myprogram.py > > what you're looking for ? > > </F>
It sounds like what I want, but it doesn't work for me. When I try the above line of code, it replies: Error: -Werror does not exist I'm running Python 2.4.3 Thanks for the help, Lorcan. -- http://mail.python.org/mailman/listinfo/python-list