1 2 3 4 5 6 7
def do_ll(self,arg): return self.do_list(str(self.curframe.f_lineno)) import pdb pdb.Pdb.do_ll = do_ll pdb.set_trace()