9.2. Browsing modules and files

Using the Module/File browser enables you to examine the different files and modules that go to make up your program and how these components are accessed during program execution. In this way you can locate errors during your debugging session.

To display the Module/File List, shown in Figure 9.1, select Find → Module/File List... from the Code window main menu.

Figure 9.1. Module/File List dialog box

Module/File List dialog box

The Module/File List dialog box displays, in order of appearance, all the modules and files in the current program. Each entry in the list shows the module name and then the filename, if known, for example:

@dhrystone\\DHRY_2 - dhry_2.c

The program name is attached at the start using @, for example @dhrystone\\.

Module names qualify symbolic references. The module name is usually the filename without the extension. All module names are converted to uppercase by RealView Debugger. If the extension is not standard, the extension is preserved, and the dot is replaced with an underscore, for example sample_arm.c is converted to SAMPLE_ARM, and sample_arm.h is converted to SAMPLE_ARM_H.

If two modules have the same name then RealView Debugger appends an underscore followed by a number to the second module, for example SAMPLE_1. If there is a third module this becomes SAMPLE_2 and so on for any additional modules.

Following this convention avoids any confusion with the C dot operator indicating a structure reference.

This section describes:

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential