Advance through function blocks

  1. While in a debug session, on the Debug tab, in the Algorithm group, click Stop.
    CAUTION!

    This stops your module from executing.

  2. A yellow arrow indicates the first block that will be executed as you proceed. On the Debug tab, in the Algorithm group, click Advance to execute the block indicated by the yellow arrow. Continue to advance through the blocks one-by-one and watch their input and output values. Look for any unexpected results or problems.
  3. If you reach a composite function block, on the Debug tab, in the Algorithm group, click Advance, and then click Advance In to enter the composite and see each of its components. To return to the original function block diagram, on the Debug tab, in the Algorithm group, click Advance, and then click Advance Out.
  4. When you want the algorithm to start running again, on the Debug tab, in the Algorithm group, click Run.
    Note

    You can also run the algorithm until you reach a selected block so that you do not have to advance through all of the function blocks.