| |||
| Home > Controlling Execution > Searching for source files > Example of locating source files | |||
In the following example, the image has been built in one directory and then moved to another location for debugging. This means that RealView Debugger cannot locate source files directly from information contained in the image:
Ensure that the Project Properties window is not open. When searching for source files, RealView Debugger updates the project properties as necessary. This fails if the window is already open.
Close any files that are open in the File Editor so that they are not found, and included, in the search mechanism.
Connect to your target and load an image, for example dhry_thr_demo.axf.
RealView Debugger creates an in-memory auto-project to use for this
session, that is dhry_thr_demo.axf.apr.
RealView Debugger cannot locate a source file and so displays the source search prompt, shown in Figure 4.4.
If you close the prompt, for example by clicking Cancel, RealView Debugger warns you that it cannot locate the source file for the new image. The project properties are unchanged.
You can change the search rules that RealView Debugger uses as described in the following sections: