[Tutor] how to run pdb in idle

Alan Gauld alan.gauld at btinternet.com
Fri Aug 12 19:44:24 CEST 2005

"Ìúʯ" <winglion at 21cn.com> wrote in message 
news:zw949187777996.07579 at send6.inner-21cn.com...
>  I am a newbie to python.I use pdb in command
> line quite well.

pdb is really best used in the normal OS window.

> In idle, I open the tree.py file, and type:
>> <string>(1)?()
> (Pdb) l

While I have used pdb inside IDLE its not great, you are
much better off using the graphical debugger built into
IDLE. Its not quite as powerful as pDB but it is easier
to use! If you are on windows the pythonwin debugger
is better than either pdb or IDLE...

Alan G 

More information about the Tutor mailing list