Using the Animator

The Animator lets you step through the code displayed in a Interactive Analysis pane. You can choose program branches yourself, or have the animator choose them randomly.

Tip: The Animator is especially useful in tracking execution paths in Program Control Flow subgraph views.


Animator Window with Context Pane

  1. Select the construct you want to start the animation from in the Source or Context pane.
  2. Click the Random Branch Button button on the tool bar if you want Animator to choose logical branches randomly.
    Tip: Use the slider at the right of the tool bar to set the speed of the animation.
  3. Click the Start Animation Button button on the tool bar to start the animation. If you are choosing program branches yourself, Animator stops at each condition it encounters and displays a pop-up menu that prompts you to choose a logical branch. Click the branch you want to go down, or click Break to pause the animation. Interactive Analysis populates the top part of the Animator window with each condition it encounters, the logical branch that you or the Animator chose, and the paragraph that contains the condition.
  4. In the Context pane at the bottom of the window, click the appropriate tab to view exit points, altered GO TOs, or the call stack for the paragraph currently being executed. You can hide the Context pane by choosing the Animator > Show Context. Choose it again to show the Context pane.
    Tip: Click the Step Through Button button on the tool bar to step through the code manually. Each time you click the button the Animator steps into the next piece of program code. Click the Step Over Button button if you want to step through the code manually but step over PERFORM statements.
  5. Click the Pause Animation Button button on the tool bar to pause the animation. Click the Start Animation Button button to restart the animation. Click the Stop Animation Button button to stop the animation.
  6. To save the animation results:
    • To an Interactive Analysis list, click the Down Arrow Button button next to the Save Button button on the tool bar and choose Save Trace As List in the drop-down menu. You can view the list in the Internal category in Code Search.
    • To XML, click the Down Arrow Button button next to the Save Button button on the tool bar and choose Save Trace As XML in the drop-down menu. A Save As dialog opens, where you can specify the name and location of the results report.
  7. Click the Delete Button to delete the results from the Animator window.