Search Directories are the folders where AQTime should look for source files for the profiled application. There are two lists, one global for all AQTime projects, Search Directories, and Project Search Directories which is specific to the current project. The dialog for this is brought up when you select Project > Search Directories from the main menu:The dialog for this is brought up when you select Project > Search Directories from Visual Studio’s main menu:The dialog for this is brought up when you click the Project Search Directories button in Embarcadero RAD Studio. Note that this button does not reside on any toolbar by default. However, you can add the button to any RAD Studio’s toolbar via the Toolbar Customization dialog. In this dialog, switch to the Commands page, select the Project.AQtime category in the Categories list, drag the Search Directories command from the Commands list and drop it on the needed toolbar.
You can remove folders from the list, edit their names in place or add new folders by typing their names at the bottom. To add an environment variable, type the $ symbol and specify its name enclosed in braces, for example
$(WINDIR), or press the Environment button and choose the variable in the ensuing Add Environment Variable dialog. Browse lets you add folders in an easier visual way. Get Defaults lets you add the folders specified in the Registry for Visual Studio, Borland Delphi and Borland C++Builder. Note that the Get Defaults list contains only those compilers, which are installed on your computer and for which there are Registry settings. If the compiler defines any environment variables, then some parts of the path are replaced with the corresponding variables.
If you check the Include Subdirectories box, AQTime will search for source files in the subfolders of the folders specified in the dialog.
Note that some compilers, for example, Visual Basic, can compile the executable without saving its sources to a disk file. In this case, AQTime cannot display source code in the Editor panel, even if the search directories are set correctly.