| |||
| Home > Debugging Your OS Application > Adding object search paths and mappings > Adding an object search path | |||
To add an object search path:
Select Set Source Search Path... from the Code window Debug menu. The Source Search and Mappings dialog box is displayed. Figure 7.6 shows an example.
Select the Object Search Path tab. Figure 7.7 shows an example.
Click New to display the Browse For Folder dialog box.
Locate the directory containing the source files.
Click OK. The object search path is added to the list of paths.
If your object files are distributed between a number of directories, then repeat the previous steps for each directory.
When you have located all the search paths for the image, click OK to close the Source Search and Mappings dialog box.
The search paths that you define are saved in a settings file
that is stored in the same location as the image. This file has
the same name as your image, and has the .apr file extension.
For example, if your image file is called image.axf image,
the settings file is called image.axf.apr. The
settings in this file are re-applied when you next load the image.