Copyright ã1996 by NeXT Software, Inc.  All Rights Reserved.

;NavigatingUsingTheStack.rtfd;;¬  Next Section	;ManagingBreakpoints.rtfd;;¬  Previous Section

Executingseverallinesofcode;¬Executing several lines of code

¬	Drag the program counter to the line where you want execution to stop. 

When you're stepping through code, you often hit a place where you'd like to execute several lines of code and stop again. For example, if you encounter a for loop that is executed several dozen times, you probably want to jump through the for loop and resume stepping after the loop ends. To do this, just drag the program counter to the first line of code past the for loop. The entire loop executes, and the program stops when it reaches the line of code you've dragged the counter to. You can then click the next or step button to resume stepping. 

¬

Dragging the program counter is more convenient than setting a breakpoint at the end of the loop. You don't have to delete the breakpoint when you're done.