* how improve these "rough edges" to pdb (python debugger) on Emacs???....
@ 2003-09-08 21:07 Christian Seberino
2003-09-08 23:30 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: Christian Seberino @ 2003-09-08 21:07 UTC (permalink / raw)
Have you noticed when you try to launch pdb (python debugger)
that it assumes pdb is in the current directory??
You must manually type this on Red Hat Linux....
/usr/lib/python2.2/pdb.py myfile.py
*** Is there someway to 1. hardwire the path to pdb and
2. the filename to current buffer editing???
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.
Any of this sound familiar???
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how improve these "rough edges" to pdb (python debugger) on Emacs???....
2003-09-08 21:07 how improve these "rough edges" to pdb (python debugger) on Emacs??? Christian Seberino
@ 2003-09-08 23:30 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-09-08 23:30 UTC (permalink / raw)
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....
>
> /usr/lib/python2.2/pdb.py myfile.py
>
> *** Is there someway to 1. hardwire the path to pdb and
(setq gud-pdb-command-name "/usr/lib/python2.2/pdb.py")
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-08 23:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-08 21:07 how improve these "rough edges" to pdb (python debugger) on Emacs??? Christian Seberino
2003-09-08 23:30 ` Kevin Rodgers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).