469,323 Members | 1,575 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Debugging Python ?

Hi'ya ppl,

I'd be happy to hear your techniques to debug python programs.
Is there any interactive debugging environment by any chance ?

thanks in advance,
B

Jul 18 '05 #1
2 1517
Hello Bill,
I'd be happy to hear your techniques to debug python programs.
Is there any interactive debugging environment by any chance ?

IDLE comes with a debugger.

Personally I use pdb. I have the following line in my .bashrc:
alias pdb='python /lib/python2.3/pdb.py'

And then just
pdb myprog.py -n -q 10034

I like pdb since it allows me to evaluate expression during debugging.

HTH.
Miki
Jul 18 '05 #2
"Bill Loren" <lo*****@bezeqint.net> writes:
Hi'ya ppl,

I'd be happy to hear your techniques to debug python programs.
Is there any interactive debugging environment by any chance ?


Using Emacs together with pdb makes a pretty good interactive
debugging enviroment for me. If you are running on windows there are
some hoops to jump through to make this work, mail me if you need
instructions.

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Humpty Dumpty | last post: by
8 posts views Thread by beliavsky | last post: by
4 posts views Thread by Jesper Olsen | last post: by
1 post views Thread by jim.eggleston | last post: by
4 posts views Thread by diffuser78 | last post: by
20 posts views Thread by krypto.wizard | last post: by
2 posts views Thread by Gary Wessle | last post: by
2 posts views Thread by Diez B. Roggisch | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.