I haven't tried to use pdb myself, but this looks fairly helpful ... http://www.ferg.org/papers/debugging_in_python.html good luck Peter