Introduction |
Everything Understand for Ada knows about a given entity can be learned using the Information Browser. The information is represented via a tree. The tree can be expanded selectively or in bulk.. Each branch of a tree follows a relationship of the entity. Each terminating item (leaf) of a tree corresponds to some information about that entity. As you drill down relationships you can change entities you are learning about. Each time you change entities, that is remembered in the Information Browser history for quick backtracking.
Drilling down the tree works as expected (mostly). To expand a tree, click on the +. to close the tree click on the -
There are a few tricks however....
Right clicking on either a + or a - sign in the tree brings up a collapse/expand menu:
Certain relationships that you always use can be set to "pre-expand" on loadup. For instance, "+WithBys" can be set to always expand. Another mode is for the Information Browser to "remember" how you had a tree expanded the last time you looked at the kind of information. Set these options from the Options->Preferences Dialog, Info Tree tab:
Everything shown in the Information Browser can be Printed, Saved as a Text File, or Copied/Pasted as Text information into another application. The branches of trees are represented by tab indents in the text.
Printing or Saving - Right click on any whitespace in the Information Browser to get this menu:
Copying/Pasting - Mark text as is standard to your windowing system (Windows or X11). Then right click on the marked area:
·In general, if you double click on an Ada entity in an Understand informational browser (Information Window or Filter Area) then the Ada Spec for the source to that entity will be loaded into the Document Area.
Another way to visit source, this time from any Ada entity you see in the Understand for Ada GUI, is the Right Click Menu. An Ada entities Right Click Menu will contain a menu item for visiting each of it's declaration locations (Spec, Body, Separate):
The bottom portion of the Information Window always contains a list of everywhere the entity is referred to in the analyzed source code:
As you explore your code with Understand for Ada you can go a lot of places very quickly. Often you want to backtrack along your path to explore a new path. To help you do this each Information Window (Information Browser, Hierarchy, Declaration, and Editor) contain full history of what they have done. The Information Browser history can be found in the bottom left corner:
Scientific Toolworks, Inc. http://www.scitools.com Voice: (802) 763-2995 Fax: (802) 763-3066 support@scitools.com sales@scitools.com |