If you only know the general area of the code causing an error, you can use a breakpoint to isolate the problem area, and then use toolbar icons or function keys to step into (F8) and step over (Shift + F8) to view each statement.
Step Into (F8) |
Executes the current statement and breaks at the next line You can use Step Into to execute code one statement at a time. After stepping through each statement, you can see its effects by looking at the Variable window. |
Step Over (Shift + F8) |
Execute the procedure called by the current line and break at the line following the current line Step Over is identical to Step Into except when the current statement contains a call to a procedure, Step Over executes this procedure as a unit and then steps to the next statement in the current procedure. |
Step Out |
Go back to the calling procedure. If you are using Step Into and have been moved to a called procedure, you can automatically run the current procedure, and return to the calling procedure. |