From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#5653: 23.1; pdbtrack isn't parsing valid pdb output or creating an interactive debugging buffer (python.el) Date: Fri, 26 Feb 2010 19:22:22 -0500 Message-ID: <87sk8nil35.fsf@stupidchicken.com> References: <24C18CE3-781E-4F0E-8907-F73A24A1D3C1@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267230238 9042 80.91.229.12 (27 Feb 2010 00:23:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Feb 2010 00:23:58 +0000 (UTC) Cc: 5653@debbugs.gnu.org To: Jeremy Whitlock Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 27 01:23:53 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NlATH-0004xU-I9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Feb 2010 01:23:51 +0100 Original-Received: from localhost ([127.0.0.1]:51465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlATH-0007Dd-1A for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2010 19:23:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlASr-00074a-3s for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 19:23:25 -0500 Original-Received: from [140.186.70.92] (port=46472 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlASp-000743-Vh for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 19:23:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NlASo-0004m9-H5 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 19:23:23 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42239) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlASn-0004m4-Sz for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 19:23:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NlASU-0007pQ-1r; Fri, 26 Feb 2010 19:23:02 -0500 X-Loop: bug-gnu-emacs@gnu.org In-Reply-To: <24C18CE3-781E-4F0E-8907-F73A24A1D3C1@gmail.com> Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2010 00:23:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5653 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5653-submit@debbugs.gnu.org id=B5653.126723014830068 (code B ref 5653); Sat, 27 Feb 2010 00:23:02 +0000 Original-Received: (at 5653) by debbugs.gnu.org; 27 Feb 2010 00:22:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlARw-0007ov-61 for submit@debbugs.gnu.org; Fri, 26 Feb 2010 19:22:28 -0500 Original-Received: from pantheon-po35.its.yale.edu ([130.132.50.83]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlARu-0007oo-JV for 5653@debbugs.gnu.org; Fri, 26 Feb 2010 19:22:26 -0500 Original-Received: from furry (dhcp128036014008.central.yale.edu [128.36.14.8]) (authenticated bits=0) by pantheon-po35.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o1R0MMw0008212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 26 Feb 2010 19:22:22 -0500 Original-Received: by furry (Postfix, from userid 1000) id DFEACC05D; Fri, 26 Feb 2010 19:22:22 -0500 (EST) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 26 Feb 2010 19:23:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35341 Archived-At: > 1) While debugging Python code in emacs I kept seeing "Traceback cue > not found" errors popping up in the minibuffer. After a good bit of > googling, I found this: > > https://bugs.launchpad.net/python-mode/+bug/505295 > > Once I applied this patch, those errors went away. Here is the patch: Thanks, I have applied it to the repository. > 2) Debugging Python in emacs doesn't work with "M-x pdb". If I invoke > pdb using "M-x pdb", I end up at a buffer that says: > > Current directory is > > No matter what I do, the buffer never updates or creates an > interactive pdb shell until I kill the debugging session by running to > the end of the script or killing the debugger session. It's at this > point I see exactly what I would had expected to see in the first > place, the pdb interactive session and its output. The only way I can > debug Python in emacs is to open a shell, invoke "python -m pdb > ". The good news is python.el has support to automatically link > the shell's pdb output to an editor pointing to the file being > debugged. I can't reproduce this. Could you attach a sample hello world type Python program, and a set of precise step-by-step instructions to reproduce the bug, starting with `emacs -Q'? Thanks.