[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python-mode problems in emacs (pdb)
From: |
Peter Milliken |
Subject: |
Re: python-mode problems in emacs (pdb) |
Date: |
Wed, 10 Mar 2004 06:24:12 +1100 |
What makes you think this is an Emacs problem? (I assume that you believe it
to be an Emacs problem since you are posting here instead of
comp.lang.python - your statement is not exactly definitive :-))
pdb.set_trace() works fine for me in my Emacs (21.3.1 on Windoze) sessions.
Peter
"Chris Fonnesbeck" <spam@fisher.forestry.uga.edu> wrote in message
c3835e5f.0403090815.7c030fd@posting.google.com">news:c3835e5f.0403090815.7c030fd@posting.google.com...
> I was disappointed to see that pdb still does not work in emacs. When
> I run a fille that calls pdb.set_trace(), I get the following:
>
> >
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/pdb.p
y(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 is the same message that I got about a year ago, and was unable
> to find a solution. Anyone know of a fix for this?
>
> Thanks,
> cjf