[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how improve these "rough edges" to pdb (python debugger) on Emacs???

From: Kevin Rodgers
Subject: Re: how improve these "rough edges" to pdb (python debugger) on Emacs???....
Date: Mon, 08 Sep 2003 17:30:04 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Christian Seberino wrote:

Have you noticed when you try to launch pdb (python debugger)
that it assumes pdb is in the current directory??

No, it assumes pdb is in exec-path (which is initialized from your PATH
environment variable).

You must manually type this on Red Hat Linux....


*** Is there someway to 1. hardwire the path to pdb and

(setq gud-pdb-command-name "/usr/lib/python2.2/")

                                    2. the filename to current buffer editing???

See my message Re: how to automate these steps in STARTING debuggers??? (gdb, pdb, etc.). Just substitute "pdb" for "gdb".

Finally, you must press "step" a few times to actually load your
file and begin stepping thru it.  It would be nicer if file automatically
was loaded and ready to be stepped thru.

Maybe you could put the appropriate commands into a .gdbinit file in the

source file's directory.

Kevin Rodgers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]