Next: Entity Browser, Previous: Call Graph, Up: Source Browsing
The dependency browser shows the dependencies between source files. Each item in the browser represents one source file.
In this browser, clicking on the right arrow in the title bar will
display the list of files that the selected file depends on. A file
depend on another one if it explicitly imports it (with
statement in Ada, or #include
in C/C++). Implicit dependencies
are currently not displayed in this browser, since the information is
accessible by opening the other direct dependencies.
Clicking on the left arrow in the title bar will display the list of files that depend on the selected file.
This browser is accessible through the contextual menu in the project view and the source editor, by selecting one of the following items:
The background contextual menu in the browser adds a few entries to the standard menu:
The browser is not refreshed automatically, since there are lots of cases where the dependencies might change (editing source files, changing the project hierarchy or the value of the scenario variables, ...)
It also recomputes the layout of the graph, and will change the current
position of the boxes.
Open file
menu, or the contextual menu in the
project view.
with
or #include
statement. For
instance, the body of generics in Ada is an implicit dependency.
Any time one of the implicit dependencies is modified, the selected
file should be recompiled as well.
The contextual menu available by right clicking on an item also adds a number of entries: