13.16.1. Setting a watch variable

To set a watch variable:

  1. Connect to your target.

  2. Load the required image.

    For example, dhrystone.axf.

  3. Either:

    • click the Locate PC button on the Debug toolbar to view the source file that has the current scope

    • open the required source file.

    For example, dhry_1.c.

  4. Right-click on a variable name to display the context menu.

    For example, Run_Index at line 146 of dhry_1.c.

  5. Select Watch from the context menu.

    The variable is added to the list of watches.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N