468,121 Members | 1,567 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,121 developers. It's quick & easy.

debugging in emacs

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
Apr 23 '06 #1
2 1951
Gary Wessle <ph****@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.
Apr 23 '06 #2
Gary Wessle wrote:
Gary Wessle <ph****@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

Apr 24 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

79 posts views Thread by Tim Tyler | last post: by
2 posts views Thread by Bill Loren | last post: by
1 post views Thread by Wezzy | last post: by
reply views Thread by Andrew Markebo | last post: by
331 posts views Thread by Xah Lee | last post: by
1 post views Thread by Dan Stromberg - Datallegro | last post: by
3 posts views Thread by SteveD | last post: by
18 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.