13.07.2015 Views

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Controlling Execution3.6 Searching for source filesBy default <strong>RealView</strong> <strong>Debugger</strong> searches for application source file paths according toinformation contained in the image. If no paths are provided in the image, <strong>RealView</strong><strong>Debugger</strong> uses the list of directories specified in the project settings. If this fails, orwhere no search path has been specified, <strong>RealView</strong> <strong>Debugger</strong> looks in the currentworking directory for the source file or files.If you have loaded an image to a target, or where you have opened a user-definedproject, you can specify search paths using the Project Properties window. Any searchthat you define is then saved with the project settings and additionally used to locatesource files.This section includes:• Example of locating source files• Autoconfiguring search rules on page 3-20• Manually configuring search rules on page 3-21• Source path mappings on page 3-22.3.6.1 Example of locating source filesIn the following example, the image has been built in one directory and then moved toanother location for debugging. This means that <strong>RealView</strong> <strong>Debugger</strong> cannot locatesource files directly from information contained in the image:1. Ensure that the Project Properties window is not open. When searching for sourcefiles, <strong>RealView</strong> <strong>Debugger</strong> updates the project properties as necessary. This fails ifthe window is already open.2. Close any files that are open in the File Editor so that they are not found, andincluded, in the search mechanism.3. Connect to your target and load an image, for example dhry_thr_demo.axf.<strong>RealView</strong> <strong>Debugger</strong> creates an in-memory auto-project to use for this session,that is dhry_thr_demo.axf.apr.4. <strong>RealView</strong> <strong>Debugger</strong> cannot locate a source file and so displays the source searchprompt, shown in Figure 3-4 on page 3-20.<strong>ARM</strong> DUI 0153G Copyright © 2002-2005 <strong>ARM</strong> Limited. All rights reserved. 3-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!