pdb.settrace() expansion