About reading Python code

Ben C spamspam at spam.eggs
Mon Mar 17 09:48:33 CET 2008


On 2008-03-17, WaterWalk <toolmaster at 163.com> wrote:
> Hello. I wonder what's the effective way of figuring out how a piece
> of python code works. With C I often find it very useful to be able to
> run the code in step mode and set breakpoints in a debugger so I can
> watch how the it executes, how the data change and how the code jumps
> from one function to another. But with Python, the debugger is a
> little primitive. The default IDLE doesn't even allow me to set a
> breakpoint.

It does, you just right-click and go "set breakpoint". But yes IDLE is a
bit basic.



More information about the Python-list mailing list