Kent Johnson wrote: > J.T. Hurley wrote: >> On the debug control, what is the difference between "go," over," and "out?" > > What debug control are you using? > > Debuggers usually have three kinds of stepping. The names vary but the > concepts are the same: > > step in - execute the next line of code; if it is a subroutine call, > stop at the first line of code in the subroutine > > step over - execute the next line of code; if it is a subroutine call, > execute the entire subroutine and stop at the line of code after the call > > step out - execute the current subroutine until reaching a return statement
I should add go/continue/run - run until a breakpoint is hit, or the program ends run to cursor - set a temp breakpoint at the line containing the cursor, then go _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor