emacs pdb on windows problem

Paul Rudin Paul_Rudin at scientia.com
Wed Jan 22 10:56:36 CET 2003


>>>>> "Felix" == Felix  <aprogrammer at hotmail.com> writes:


 Felix> gud.el(1319):

 Felix> (defvar gud-pdb-marker-regexp "^>
 Felix> \\([-a-zA-Z0-9_/.]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\)()\\(->[^\n]*\\)?\n")

 Felix> =>

 Felix> (defvar gud-pdb-marker-regexp "^>
 Felix> \\([-a-zA-Z0-9_/.:\\]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\)()\\(->[^\n]*\\)?\n")

Thanks, that helps. I also found I needed to make a pdb.bat file in
order to invoke python in order to get things working, containing the
following:

c:\python22\python.exe -u c:/python22/lib/pdb.pyc %1 %2 %3 %4 %5 %6 

and then customize the variable gud-pdb-command-name to point at this,
and also set py-pdbtrack-do-tracking-p to nil (which is from the
python-mode.el in the python sources - not part of the standard emacs
dist).

With these changes it seems to work fine.

-- 
It's a lot of fun being alive...  I wonder if my bed is made?!?




More information about the Python-list mailing list