Each document has a number of settings that are maintained in it. To view or edit these settings, use the Document Inspector by clicking on the inspector icon on your document (or selecting the Tools->Inspector menu item):
The general document inspector appears as below. The four check boxes select details of how OOA interacts with your application and how it displays the collected information. Below that are displayed some overall statistics about the communication occuring between OOA and your application.
The top section of the document inspector changes based on the selected item in the popup button.
This determines the path to the executable for your application. You may enter multiple values here (for example you might enter the debug and non-debug versions), but only one version may be marked with the 'Use' flag.
The Arguments section allows you to specify the command-line arguments that will be passed to your application by OOA upon launch. You may list many sets of command line arguments, each set on its own line in the table. Spaces in each set are interpreted to break the line into multiple arguments. For example, the line show above would pass two arguments,
-arg1
and
-arg2
.
The argument parsing is currently very simple. There is no way, for example, to pass and argument that contains spaces. Please let us know if this is a problem for you.
If multiple sets of arguments are marked witht the 'Use' flag, they will be concatenated.
The Environment Variables section allows you to specify the environment variables that will be passed to your application by OOA upon launch. Each key value pair of takes up a line in the table. Only those that are marked with the 'Use' flag are passed.
The Source Directories section allows you to specify the list of directories that OOA should search for the source files for you application. This is used when you click on a file icon next to a symbolic stack trace entry. Each entry may have the 'Deep' flag which means that all subdirectories of the specified directory should be searched. This allows you to easily specify the root directory for a project and automatically have all subprojects searched.
When OOA searches for a source file, if no file exists with the needed name in any of the currently specified directories, OOA will prompt you to add another diretory.