Finding Where a Method is Used

In the Query card:

  1. Select "methods" from the option menu.

  2. Type in the name of the method and press <Enter>.

  3. Select the method in the display panel.

  4. Choose Display Calling Methods from the right-mouse-button menu.

The results are displayed in the Query card. You can make additional queries by selecting methods in the Query card and using the right-mouse-button menu.

-or-

In the Class card:

  1. Display the class containing the method you want to trace.

  2. Select the method.

  3. Choose What Uses from the right-mouse-button menu.

All methods and classes that use the selected method are highlighted.

Note: If your query does not provide the expected results, choose Project > Reanalyze Classes to rebuild the class database that Cosmo Code uses for graphs and queries over classes.

See Also

Guide to the Cosmo Code Development Environment
12-96*235