[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python debugger: To run pdb, how fix wrong path & filename & scriptn
Re: Python debugger: To run pdb, how fix wrong path & filename & scriptname on command line???
Thu, 23 Oct 2003 09:12:33 -0600
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2
Christian Seberino wrote:
When you try to run the Python debugger in Emacs with pdb command
it asks you what the desired command line to invoke pdb is.
It assumes script is pdb and not pdb.py. Also, the path is missing
so Emacs says it cannot find pdb.py script.
Also, the filename is not always correct.
How fix the entire command line for all invocations of pdb??
Does this work?
(defadvice pdb (before gud-query-cmdline activate)
"Provide a better default command line when called interactively."
(list (gud-query-cmdline '/usr/local/bin/pdb.py