views:

32

answers:

1

I'm developing a django app using aquamacs as my ide. Pdb isn't working since upgrading to emacs 23.2.1 using python 2.6.1. When I invoke pdb like this:

M-x pdb
Run pdb (like this): pdb ./manage.py runserver

The gud-manage.py frame appears with this message (and nothing more) -

Current directory is /path/to/my/source/

It isn't responsive to keyboard input, though I can right-click and send a quit or kill signal. It seems like emacs isn't capturing the pdb output correctly.

Has anyone seen this and (hopefully) fixed it? I believe it has something to do with the gud-pdb-marker-regexp variable (see point #2 in link).

Related issues

  1. Seems to have been around since 2007
  2. One person a solution for this problem on Windows (adding -u to the python command in the pdb script). I tried it anyway, but this didn't work for me.
A: 

I have been having this same issue. I had it fixed in 23.1 (http://debbugs.gnu.org/db/56/5653.html) but now in 23.2 that fix no longer works, or at least it doesn't appear to for me. I've just submitted a bug to Emacs explaining the problem in detail and hopefully it will get resolved.

A workaround for this is to execute pdb from the emacs shell:

Open the shell: M-x shell Enter this in the shell: pdb

This will get pdb working properly within the shell.

Jeremy Whitlock