[Top][All Lists]

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

Re: pdb with emacs

From: Benjamin Rutt
Subject: Re: pdb with emacs
Date: Wed, 01 Dec 2004 10:11:56 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

"Yuri Shtil" <address@hidden> writes:

> I am trying to learn python and use the gud/pdb from emacs. The
> functionality that I am used to under gud/gdb and gud/perldb is missing, or
> I don't know how to make it work.
> Specifically: when I start pdb on a script file, the source does not show in
> an another window as it does with perldb and gdb. 

The source appears for me if I do C-c C-s immediately after startup.

> If I bring it up in an another window, the ^X SPC set a break, but
> the subsequent gud-next commands do not move the execution cursor in
> the source file window.

I can in general set breakpoints using C-x SPC in the source buffer
after the source appears, which will be hit after I resume
execution.  So I guess I don't observe your problems.  I am using a
custom "pdb" executable script though, maybe this helps:

exec python $HOME/opt/python-2.3/lib/python2.3/ "$@"
Benjamin Rutt

reply via email to

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