emacs python debugging: pydb or pdb fringe interaction
Rob Wolfe
rw at smsnet.pl
Fri May 18 14:46:25 EDT 2007
Paul Rudin <paul.rudin at ntlworld.com> writes:
> I can't get the gdb fringe interaction functionality to work with
> either pdb or pydb. Any hints as to versions or incantations I should
> try?
It works for me on Debian Etch and GNU Emacs 21.4.1.
I'm using this settings:
(setq pdb-path '/usr/lib/python2.4/pdb.py
gud-pdb-command-name (symbol-name pdb-path))
(defadvice pdb (before gud-query-cmdline activate)
"Provide a better default command line when called interactively."
(interactive
(list (gud-query-cmdline pdb-path
(file-name-nondirectory buffer-file-name)))))
--
HTH,
Rob
More information about the Python-list
mailing list