[Pythonmac-SIG] pdb (bdb) exception under emacs

chris at fonnesbeck.org chris at fonnesbeck.org
Fri Mar 12 10:41:51 EST 2004


Does anyone develop python using emacs? When I debug a file that calls
pdb.set_trace(), I get the following:

> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/pdb.py(992)set_trace()->None
-> Pdb().set_trace()
(Pdb)
Traceback (most recent call last):
  File "<stdin>", line 148, in ?
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/pdb.py",
line 992, in set_trace
    Pdb().set_trace()
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/bdb.py",
line 52, in trace_dispatch
    return self.dispatch_return(frame, arg)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/bdb.py",
line 80, in dispatch_return
    if self.quitting: raise BdbQuit
bdb.BdbQuit

Anyone else seen this? I do not get this behaviour with other platforms,
so I am thinking it may be a pythonmac issue. Any help is most
appreciated.

C.



More information about the Pythonmac-SIG mailing list