<br><br><div class="gmail_quote">On Wed, Apr 22, 2009 at 3:50 AM, Esmail <span dir="ltr"><<a href="mailto:ebonak@hotmail.com">ebonak@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Great list Ben, I use emacs and will check out the tools<br>
you listed.<br>
<br>
What techniques/tools do you recommend for debugging?<br>
<br>
Esmail<br><font color="#888888">
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>pdb is good if you need to do step-through debugging.<br><br>What I normally do in emacs is the following (while working on python script, and with the python-mode that comes with emacs22):<br>
<br>C-x 3      #splits the screen into two vertical columns<br>C-c C-c   #fires up python and sends the current buffer to it<br>C-x o      #switches to the other column<br>C-x b Py #switches to the python interactive buffer<br>
<br>This is, I do believe, equivalent to running a script with python -i script.py . Drops you into an interactive session where you can interact with what you just wrote. Another very handy tool is etags, see the help in emacs (You can get to it through C-h i m emacs)<br>