13.2.1. Finding public and static functions

To find a public or static function in your code:

  1. Select Symbols from the View menu to display the Symbols view. Figure 13.1 shows an example.

    Figure 13.1. Symbols view

    Symbols view

  2. Click the Functions tab. This lists the public and static functions in the image. Figure 13.2 shows an example.

    Figure 13.2. List of functions

    List of functions

  3. Right-click on any function entry to display the context menu, and select one or more of the type of functions that you want to display from the context menu:

    • select Show Publics to list the public functions (the default)

    • select Show Statics to list the static functions (the default).

    If an unwanted function type is already selected, then selecting the corresponding option remove functions of that type from the list.

    Repeat this for each type of function that you want to view or remove from the list.

  4. Locate the function that you want to find in your source code.

    Note

    To reduce the list of functions, specify a filter in the Filter field. For example, to list all functions that begin with the letter P, enter *\*\P or *\*\p.

  5. Right-click on the function entry to display the context menu.

  6. Select one of the following:

    • Show in Disassembly, to display the disassembly view of the function

    • Show Source, to view the function in your source code, if available.

    The code view changes to show the function.

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential