python-mode in emacs under OSX

Chris Fonnesbeck spam at fisher.forestry.uga.edu
Tue Mar 23 23:54:05 CET 2004


When trying to debug some python code under emacs (OSX) with
python-mode, 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

This does not happen with emacs/python-mode on other platforms; is
there something OSX-specific that needs tweaking? I'm hoping there is
a mac python developer out there who can help me with this.

Thanks,
cjf



More information about the Python-list mailing list