Skip over Sections of Code

You can change the current execution point in a debugging session to another location in the current Source window, so that certain lines are executed again, or are skipped over when they otherwise would not be. From within the Source window containing the current execution point, do the following:

  1. Scroll to the line number you want to jump to, if it is not already visible.
  2. Issue the Jump to location command by doing one of the following:

Note that using Jump to location can cause unpredictable results if you jump outside the current function, jump over code that has side-effects (for example, calls to functions whose results are assigned to variables, or functions that change the contents of variables passed by reference), or jump into the middle of a block such as a for loop.