[Tutor] Clarification on Debugging under IDLE
Kent Johnson
kent37 at tds.net
Tue Apr 24 20:45:13 CEST 2007
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
More information about the Tutor
mailing list