GNU bug report logs - #13494
output from pdb++ never appears in *gud-FILE* buffer

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Matt McClure <matthewlmcclure@HIDDEN>; dated Fri, 18 Jan 2013 22:21:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 13494 <at> debbugs.gnu.org:


Received: (at 13494) by debbugs.gnu.org; 21 Jan 2013 02:53:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 20 21:53:07 2013
Received: from localhost ([127.0.0.1]:42135 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Tx7VT-0004AV-Gd
	for submit <at> debbugs.gnu.org; Sun, 20 Jan 2013 21:53:07 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:36081)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1Tx7VR-0004AO-K7
	for 13494 <at> debbugs.gnu.org; Sun, 20 Jan 2013 21:53:06 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Tx7UR-00078B-Tu; Sun, 20 Jan 2013 21:52:04 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Matt McClure <matthewlmcclure@HIDDEN>
Subject: Re: bug#13494: output from pdb++ never appears in *gud-FILE* buffer
References: <CAJELnLHVetiYM3XrxbAZmnbqqdOGPD3-SLAQX4EfUoAHAvz9FA@HIDDEN>
X-Spook: sniper CISU CBNRC event security Vince Foster MILSATCOM
X-Ran: {4@#Wjg,_'");yo[vE586=^)S5@1@U,|#;j&U~kR8t%22VyAv4/d\xlh3[c\T3fK1Bx%k|
X-Hue: black
X-Attribution: GM
Date: Sun, 20 Jan 2013 21:52:03 -0500
In-Reply-To: <CAJELnLHVetiYM3XrxbAZmnbqqdOGPD3-SLAQX4EfUoAHAvz9FA@HIDDEN>
	(Matt McClure's message of "Fri, 18 Jan 2013 17:19:40 -0500")
Message-ID: <gj622r9rjg.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: 13494
Cc: 13494 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.5 (-----)

Matt McClure wrote:

> I'm trying to use pdb++ [1] in Emacs 24.2.50.1 (x86_64-apple-darwin,
> NS apple-appkit-1038.36) of 2012-09-27 on bob.porkrind.org.

That's a bit old, could you try a newer version? (May not help.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#13494; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Jan 2013 22:20:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 18 17:20:42 2013
Received: from localhost ([127.0.0.1]:39194 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TwKIj-0008NS-8L
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 17:20:42 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40092)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <matthewlmcclure@HIDDEN>) id 1TwKIf-0008NK-3q
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 17:20:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <matthewlmcclure@HIDDEN>) id 1TwKHp-0004a2-Oa
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 17:19:47 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-101.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,
	USER_IN_WHITELIST autolearn=no version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:48176)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <matthewlmcclure@HIDDEN>) id 1TwKHp-0004Zy-Lb
	for submit <at> debbugs.gnu.org; Fri, 18 Jan 2013 17:19:45 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51451)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <matthewlmcclure@HIDDEN>) id 1TwKHn-0001vS-QQ
	for bug-gnu-emacs@HIDDEN; Fri, 18 Jan 2013 17:19:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <matthewlmcclure@HIDDEN>) id 1TwKHm-0004Yf-2S
	for bug-gnu-emacs@HIDDEN; Fri, 18 Jan 2013 17:19:43 -0500
Received: from mail-pa0-f47.google.com ([209.85.220.47]:54801)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <matthewlmcclure@HIDDEN>) id 1TwKHl-0004YZ-PC
	for bug-gnu-emacs@HIDDEN; Fri, 18 Jan 2013 17:19:41 -0500
Received: by mail-pa0-f47.google.com with SMTP id fa10so2362006pad.6
	for <bug-gnu-emacs@HIDDEN>; Fri, 18 Jan 2013 14:19:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:x-received:date:message-id:subject:from:to
	:content-type; bh=P6xM8CD8SlrRuEmu+2fpHasaQwX0wr4dzt73PDPJp6I=;
	b=KG3Qk08YDS12jetJXzuKJh4VqBIayUi57lYUhgD32rXnj2t4dOw9/vTmQwYIu02Mcr
	rbddkzMJprhXfUOmtu7fYPYHci5QA4sWhQ18eTo6Q2jve5Atzpuxq+ZSnBbh5o9p7lE7
	9Skr18pFQHNJ/bF6ZSAxWmDIThf58pV3ifee/2/UIarttiAaAYXfz4v/dX2ep1OdVuEo
	Kz0O6YvEimFJTeUKJdZ32jyhPOPyAQJwEEiJ24XTcLBLmKAxwr9pugXS6KgXu2brjN6B
	iVlyX1APNbLMV/S6TXPW/J1ol0tzZoTsNVIgHlLmbtdox1bDcU74l4oUfOBfECFPvpx6
	X1Kg==
MIME-Version: 1.0
X-Received: by 10.68.222.232 with SMTP id qp8mr28061113pbc.99.1358547580373;
	Fri, 18 Jan 2013 14:19:40 -0800 (PST)
Received: by 10.68.21.10 with HTTP; Fri, 18 Jan 2013 14:19:40 -0800 (PST)
Date: Fri, 18 Jan 2013 17:19:40 -0500
Message-ID: <CAJELnLHVetiYM3XrxbAZmnbqqdOGPD3-SLAQX4EfUoAHAvz9FA@HIDDEN>
Subject: output from pdb++ never appears in *gud-FILE* buffer
From: Matt McClure <matthewlmcclure@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -5.1 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.1 (-----)

I'm trying to use pdb++ [1] in Emacs 24.2.50.1 (x86_64-apple-darwin,
NS apple-appkit-1038.36) of 2012-09-27 on bob.porkrind.org.

With pdb++ in my Python virtualenv, I type:

    M-x pdb RET python -mpdb foo.py

The *gud-foo.py* buffer says:

    Current directory is /Users/mlm/tmp/

And it never prints pdb++'s output. I expect to see:

    > /Users/mlm/tmp/foo.py(1)<module>()
    -> """Demonstrating Emacs, pdb++ incompatibility."""
    (Pdb++)

I stepped into Emacs's pdb function, and saw that sometimes the output
from pdb++ appears in the buffer as I step through. Sometimes it
appears in color. Sometimes the corresponding color escape sequences
appear literally in the buffer.

I can work around the problem by disabling colorized pdb++ output with
a ~/.pdbrc.py containing:

    from pdb import DefaultConfig

    class Config(DefaultConfig):
        highlight = False

Still, this seems like an Emacs bug, that it doesn't reliably read the
colorized output and display it in the buffer.

[1]: http://pypi.python.org/pypi/pdbpp/


***

In GNU Emacs 24.2.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2012-09-27 on bob.porkrind.org
Bzr revision: 110220 rgm@HIDDEN
Windowing system distributor `Apple', version 10.3.1138
Configured using:
 `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin'
 '--with-ns' 'build_alias=i686-apple-darwin'
 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  global-whitespace-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
SPC C-e <escape> <backspace> <escape> <backspace> p
d b SPC i m p o r t SPC D e f a u l t C o n f i g C-n
C-a C-o C-n C-e D e f u <backspace> a u l t C o n f
i g ) : <return> <tab> h i g h l i g h t SPC = SPC
F a l s e <return> C-k C-k C-k C-x C-s C-x o C-x b
f a n c y <tab> <return> C-r C o l o r C-r C-r C-r
C-r C-r C-r C-r C-r C-r C-r C-r C-a <escape> < C-s
C-s C-a C-v C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-k C-k C-x C-s C-x o C-x C-b C-n C-n C-n C-n <return>
C-x k <return> y e s <return> C-p C-n C-x C-b C-n C-n
C-n C-n <return> C-x 1 <escape> x p d b <return> <escape>
C-x c <return> <escape> C-x c <escape> C-g C-x o C-x
o q u i t <return> C-x k <return> <escape> x p d b
<return> <return> <escape> C-x c q u i t <return> C-x
k <return> <escape> x p d b <return> <return> <escape>
C-x c C-d C-x k <return> <escape> x <escape> p <return>
<return> <escape> C-x c <escape> C-x c C-d C-x k <return>
<escape> x <escape> p <return> <return> <escape> C-x
c C-d C-x k <return> <escape> x <escape> p <return>
<return> C-x 1 w <return> n <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <escape> x e m
a c s SPC r e <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
r e p o <tab> r <tab> <tab> <return>

Recent messages:
Continue...
make-comint-in-buffer
Continue...
comint-check-proc
Continue...
comint-exec
Continue...
comint-exec-1
Continue...
Making completion list... [2 times]

Load-path shadows:
/Users/mlm/.emacs.d/elpa/virtualenv-0.1/virtualenv hides
/Users/mlm/config/emacs/virtualenv
/Users/mlm/.emacs.d/elpa/pymacs-0.24/pymacs hides /Users/mlm/config/emacs/pymacs
/Users/mlm/config/emacs/nxml-mode-20041004/xsd-regexp hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/xsd-regexp
/Users/mlm/config/emacs/nxml-mode-20041004/xmltok hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/xmltok
/Users/mlm/config/emacs/nxml-mode-20041004/rng-xsd hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-xsd
/Users/mlm/config/emacs/nxml-mode-20041004/rng-valid hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-valid
/Users/mlm/config/emacs/nxml-mode-20041004/rng-util hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-util
/Users/mlm/config/emacs/nxml-mode-20041004/rng-uri hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-uri
/Users/mlm/config/emacs/nxml-mode-20041004/rng-pttrn hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-pttrn
/Users/mlm/config/emacs/nxml-mode-20041004/rng-parse hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-parse
/Users/mlm/config/emacs/nxml-mode-20041004/rng-nxml hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-nxml
/Users/mlm/config/emacs/nxml-mode-20041004/rng-match hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-match
/Users/mlm/config/emacs/nxml-mode-20041004/rng-maint hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-maint
/Users/mlm/config/emacs/nxml-mode-20041004/rng-loc hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-loc
/Users/mlm/config/emacs/nxml-mode-20041004/rng-dt hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-dt
/Users/mlm/config/emacs/nxml-mode-20041004/rng-cmpct hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-cmpct
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-util hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-util
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-uchnm hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-uchnm
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-rap hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-rap
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-parse hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-parse
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-outln hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-outln
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-ns hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-ns
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-mode hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-mode
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-maint hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-maint
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-glyph hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-glyph
/Users/mlm/config/emacs/nxml-mode-20041004/nxml-enc hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-enc

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils dabbrev kmacro two-column
iso-transl info edebug jka-compr thingatpt find-func gud python rx
noutline outline tramp-cache tramp-sh dired-aux debug find-dired dired
mule-util vc-bzr sh-script smie executable time-stamp misearch
multi-isearch vc-git conf-mode flyspell ispell help-mode rect
pymacs-autoloads virtualenv-autoloads disp-table uniquify grep compile
whitespace server tramp-virtualenv easy-mmode dircmp-mode
diff-ediff-mode derived pymacs warnings nxml-enc cus-edit easymenu
cus-start cus-load wid-edit tramp tramp-compat auth-source eieio
byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr
password-cache tramp-loaddefs shell pcomplete comint ansi-color ring
format-spec advice help-fns advice-preload package time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)


--
Matt McClure
http://www.matthewlmcclure.com
http://www.mapmyfitness.com/profile/matthewlmcclure




Acknowledgement sent to Matt McClure <matthewlmcclure@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#13494; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.