Python+Emacs+GUD ?

Robin Dunn robin at alldunn.com
Mon Dec 4 18:00:45 EST 2000


<luthi at vaw.baug.ethz.ch> wrote in message
news:yfmn1eciew4.fsf at collet.i-did-not-set--mail-host-address--so-shoot-me...
> According to the Python archives this question has been posted 6 years
> ago... still without an answer?
>
> Q: Has someone accomplished Python integration within Emacs GDB-Mode (GUD,
>    Grand Unified Debugger)?
>
> With this, Emacs Python-mode mode would be a very handy integrated
development
> environment.
>

The current gud.el already supports it.  Mine has this in it:

(defgroup gud nil
  "Grand Unified Debugger mode for gdb and other debuggers under Emacs.
Supported debuggers include gdb, sdb, dbx, xdb, perldb, pdb (Python), and
jdb."
  :group 'unix
  :group 'tools)

Works great.  You just need to have a executable on your PATH named pdb.  It
can be as simple as a symlink to pdb.py.

--
Robin Dunn
Software Craftsman
robin at AllDunn.com
http://wxPython.org     Java give you jitters?
http://wxPROs.com        Relax with wxPython!






More information about the Python-list mailing list