Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

6.5 Run Parts of the Application

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 Image Removed Image Added (F8) and step over Image Removed Image Added (Shift + F8) to view each statement.

IconStepIntoImage Removed Image Added  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  at the Variable window.

IconStepOverImage Removed Image Added  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.

IconStepOutOfImage Removed Image Added  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.

 
6. Debugging Applications