unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6759: 23.2; PDB on OS X does not work
@ 2010-07-29 21:47 Jeremy Whitlock
  2016-03-06  5:14 ` Hagmonk
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Whitlock @ 2010-07-29 21:47 UTC (permalink / raw)
  To: 6759

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@gmail.com>
Twitter: jcscoobyrs
Website: http://www.thoughtspark.org








^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6759: 23.2; PDB on OS X does not work
  2010-07-29 21:47 bug#6759: 23.2; PDB on OS X does not work Jeremy Whitlock
@ 2016-03-06  5:14 ` Hagmonk
  2016-07-10 15:02   ` Alan Third
  0 siblings, 1 reply; 3+ messages in thread
From: Hagmonk @ 2016-03-06  5:14 UTC (permalink / raw)
  To: 6759


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.







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6759: 23.2; PDB on OS X does not work
  2016-03-06  5:14 ` Hagmonk
@ 2016-07-10 15:02   ` Alan Third
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Third @ 2016-07-10 15:02 UTC (permalink / raw)
  To: Hagmonk; +Cc: 6759-done

Hagmonk <hagmonk@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-10 15:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 21:47 bug#6759: 23.2; PDB on OS X does not work Jeremy Whitlock
2016-03-06  5:14 ` Hagmonk
2016-07-10 15:02   ` Alan Third

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).