debugging in emacs

Steve Juranich sjuranic at gmail.com
Mon Apr 24 10:52:44 EDT 2006


Gary Wessle wrote:

> Gary Wessle <phddas at yahoo.com> writes:
> 
>> Hi python users
>> 
>> I am using emacs and python-mode.el under dabian testing.
>> is there a way to debug python code where I can step over each line
>> and watch the value of all the variables and be able to change
>> any during debugging. say you have a loop structure and want to see
>> what the values of your variables are during debugging when your code
>> is running as you step line by line.
>> 
>> thanks
> 
> what is the most used the older python-mode.el or the newer python.el?
> 
> I am using eamcs 21.4.1 under dabian testing.

I use python-mode.el v. 4.63 with Emacs 21.3 (I haven't made the switch to
21.4 yet).  When I'm running an interactive *Python* buffer inside of Emacs
and get a stack trace, I then use pdb.pm() and I get the familiar
GDB-in-Emacs style interface.

Good luck.
-- 
Steve Juranich
Tucson, AZ
USA




More information about the Python-list mailing list