If the source files on the host system do not match the paths encoded in the debug information, the source debugger will be unable to immediately load the source file. An error message is displayed, such as:
- Click Yes to browse to the correct file, select it, and click OK to automatically create a replacement rule that allows the debugger to find all other files that have a similar base path.
- You can also manually specify both replacement rules and folders that the debugger should search:
Select Options > Source Directories….
The Source Directories window is opened where you can specify either folders to search (non-recursive) or path replacement rules (for example, change c:\mybuildfiles to e:\mydebugfiles).