Python 2.3.4 (#2, Sep 24 2004, 08:39:09) [GCC 3.3.4 (Debian 1:3.3.4-12)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pdb >>> def foo(): ... pdb.set_trace() ... >>> foo() --Return-- > /usr/lib/python2.3/pdb.py(992)set_trace()->None -> Pdb().set_trace() (Pdb) l 987 988 def runcall(*args): 989 return Pdb().runcall(*args) 990 991 def set_trace(): 992 -> Pdb().set_trace() 993 994 # Post-Mortem interface 995 996 def post_mortem(t): 997 p = Pdb() (Pdb)