Stepping Over or Out of Functions
Home Page (Debugger) | Overview | How Do I... Topics
What do you want to do?
Step over a function
Step out of a function
To step over a function
Open a source file, and start debugging.
Execute the program to a function call.
On the Debug menu, click Step Over.
The debugger executes the next function, but pauses after the function returns.
Repeat step 3 to continue executing the program, one statement at a time.
To step out of a function
Start debugging, and execute the program to some point inside the function.
On the Debug menu, click Step Out.
The debugger continues until it has completed execution of the return from the function, then pauses.
Caution In general, to avoid very slow execution, you should not step out of a function containing a loop. Instead, you should set a breakpoint at the end of the function, and then choose Go from the Debug menu to execute to the end of the function. Then choose Step Out.