>>> import pdb ; pdb.set_trace() >> >> Use this instead: >> >> import pdb; pdb.Pdb().set_trace() >> >> It is more convenient in that you end up at the stack level you >> actually want to be at, rather than inside [pdb] Yes, but it is 4 more characters to type extra Pdb(). versus 'n' and return :-) Roger