From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Peter Milliken" Newsgroups: gmane.emacs.help Subject: Re: python-mode problems in emacs (pdb) Date: Wed, 10 Mar 2004 06:24:12 +1100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1079153059 21897 80.91.224.253 (13 Mar 2004 04:44:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Mar 2004 04:44:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 13 05:44:12 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B210O-0008La-00 for ; Sat, 13 Mar 2004 05:44:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1VbE-0005UZ-R4 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Mar 2004 14:12:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!snewsf0.syd.ops.aspac.uu.net!nnrp1.ozemail.com.au!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Original-NNTP-Posting-Host: 203.15.64.33 Original-X-Trace: nnrp1.ozemail.com.au 1078860252 203.15.64.33 (Wed, 10 Mar 2004 06:24:12 EST) Original-NNTP-Posting-Date: Wed, 10 Mar 2004 06:24:12 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:121542 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17561 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17561 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" wrote in message 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 "", 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