Select Directory for <filename> Dialog Box

Related Topics

Use the Select Directory for <filename> dialog box to specify the location of source files. PureCoverage displays this dialog box when you try to display annotated source code and PureCoverage cannot locate the source file.

These are the main controls in the dialog box. If you intend to change the default selection for Future Path Search, you must change it before you select the target directory. As soon as you select the target directory, the dialog box closes.

Directory name

Select a directory.

Directory list

Displays available drives and directories.

Drives

Select a drive.

Network

Displays a dialog box so you can make a connection to a network drive.

Future Path Search

Allows you to specify how PureCoverage processes the directory selection.

Add to search path: Your directory selection is included in Source file search path in the Settings for <exename> dialog box.

Add to path substitutions: Your directory selection is included in the list of source path substitutions that PureCoverage uses to locate source code. (This button is disabled if the directory is not given as an absolute path in the source file.)

None: Your directory selection applies only to the current operation.

Notes:

§      PureCoverage uses the following search order to locate source files:

 

1.    The directory where the program you're monitoring is located.

2.    The search path specified in the Files tab in the Settings for <exename> dialog box.

3.    For Visual C++ programs, the directories specified in the Visual Studio Workspace file.

4.    The search path specified in the Files tab in the Default Settings dialog box.

5.    For Visual C++ programs, the MFC and Visual C++ directories.

6.    The PATH environment variable.

7.    Source path substitution specified in the Source Code tab of the Preferences dialog box.

§      Annotated source code is available only if debug line information is available and if a module is monitored at line level.

§      Annotated source showing line-by-line coverage data is not available when you monitor a Visual Basic 6.0 p-code program.

(C) Copyright IBM Corporation 1993, 2010.