GNU bug report logs -
#6759
23.2; PDB on OS X does not work
Previous Next
Reported by: Jeremy Whitlock <jcscoobyrs <at> gmail.com>
Date: Thu, 29 Jul 2010 21:48:01 UTC
Severity: normal
Tags: unreproducible
Found in version 23.2
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 10 Jul 2016 16:02:13 +0100
with message-id <m2eg71r0y2.fsf <at> idiocy.org>
and subject line Re: bug#6759: 23.2; PDB on OS X does not work
has caused the debbugs.gnu.org bug report #6759,
regarding 23.2; PDB on OS X does not work
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
6759: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6759
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
1) Create a Python file in Emacs, its contents don't really work but try to write a
script that actually does something
2) M-x pdb <Enter> <Enter>
What happens when yo do this is you end up with is a non-responsive
buffer that has the following in it:
Current directory is <YOUR_CURRENT_DIRECTORY>
and a blinking cursor. I don't get any prompt to enter any pdb commands
and I also do not get the corresponding line in my python script
highlighted in the debugger.
You must be on OS X. I ran into this in 23.1 but when I submitted the
bug fix, which for some reason doesn't appear to work in 23.2, it was a
follow-up to another bug so I don't think it was addressed.
What is wild is that I can execute PDB in a different way within Emacs
and it works just fine. The way I have to do it to get it working is:
1) Open the Python file in emacs
2) M-x shell <Enter>
3) pdb <your_file>
Once I execute that, my shell prompts me for PDB as expected and my
corresponding line in the editor is highlighted. So, well, I know the
core part of PDB is working to an extend but the way to execute "pdb
<Enter> <Enter>" isn't working. (I think it's due to parsing the PDB
output on OS X as I refered to in bug 5653:
http://debbugs.gnu.org/db/56/5653.html)
I am interested in helping with this so please let me know how I can help.
In GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
of 2010-05-08 on black.local
Windowing system distributor `Apple', version 10.3.1038
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 $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
diff-auto-refine-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x r e p o r t - e m a c s - b u g <return>
Recent messages:
Loading /Users/jwhitlock/.emacs.d/color-theme/themes/color-theme-example.el (source)...done
Loading /Users/jwhitlock/.emacs.d/color-theme/themes/color-theme-library.el (source)...done
Loading /Users/jwhitlock/.emacs.frameg...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
None found.
Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util
hashcash mail-utils emacsbug color-theme edmacro kmacro wid-edit
sendmail regexp-opt reporter mercurial view vc vc-dispatcher executable
diff-mode easy-mmode cl cl-19 go-mode-load paren tooltip ediff-hook
vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process ns
multi-tty emacs)
Take care,
Jeremy Whitlock <jcscoobyrs <at> gmail.com>
Twitter: jcscoobyrs
Website: http://www.thoughtspark.org
[Message part 3 (message/rfc822, inline)]
Hagmonk <hagmonk <at> icloud.com> writes:
> I’m unable to reproduce this bug using Emacs 25.0.92.2 on OS X 10.11.3.
>
> /Applications/Emacs.app/Contents/MacOS/Emacs -Q -nw
> M-x pdb
> Run pdb (like this): python2.6 -m pdb /tmp/foo.py
>
> I get successfully dumped to a (Pdb) prompt where I can invoke commands.
Thanks for checking this. I'm going to close the bug report since
nobody's commented further on it.
--
Alan Third
This bug report was last modified 9 years and 12 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.