12.2.3. Using the Tools menu

The Tools menu contains commands that control your build processes and provide assistance when locating and correcting errors during a build. See Tools menu build options for a summary of the build options available from this menu.

Other nonbuild related options are available from this menu. See Other Tools menu options for a summary of these options.

Tools menu build options

The Tools menu offers the following build options:

Build...

Rebuilds an executable image or library.

Selecting this option without an open project, or where the active project is an auto-project, displays the Build dialog box populated with image settings, if available.

You can also rebuild executable or library files from RealView Debugger without making a connection using this option.

See Using the Build dialog box for details.

Build This File

Creates an object file from the current source file selected in the File Editor pane. With a user-defined project open, the stored build model is used to perform the rebuild for the project.

If you select this option without an open project, RealView Debugger displays the Build dialog box populated with object settings.

You can also use this option to rebuild a source file from RealView Debugger without making a connection.

This option is enabled when a file is selected in the File Editor pane.

See Using the Build dialog box for details.

Next Line/Error

If rebuilding generates a list of errors, this option enables you to move through the errors, make corrections, and check your code.

See Finding build errors for details.

This option is also used when searching for text in files as part of your development or debugging session. Select this option to move to the next matching occurrence of the search string or expression as displayed in the FileFind tab of the Output pane. See Chapter 14 Searching and Replacing Text for details.

Stop Build/Find

Stops any build, rebuild, or search operation that is in progress.

Clean (remove objects)

Removes object and executable files for a project. You can use this to remove any files built by the project.

This option is enabled when a user-defined project is open that contains a makefile.

Rebuild All (Clean+Build)

Removes object, executable, or library files for a project, and then rebuilds the project using the stored build model. Use this option to force a build from scratch.

This option is enabled when a user-defined project is open that contains a makefile.

Other Tools menu options

Other Tools menu options are available, and are described in detail in other parts of the RealView Debugger documentation:

New Editor

Displays options to use standalone editor windows to give you access to all the built-in editing features. See Chapter 13 Editing Source Code for more details.

Analyzer/Trace Control

This option is not supported.

Simulation Control

This option is not supported.

Workspace Options...

Displays the Workspace Options window. See Viewing workspace settings for details on configuring your workspace.

Options...

Displays the Options window, where you specify global configuration options. See Viewing workspace settings for details on configuring global options.

Using the Actions toolbar

The Actions toolbar contains buttons that replicate selected build options from the Tools menu:

Build

Rebuilds an executable image or library file. See the description of the Build... option in Tools menu build options.

Compile

Creates an object file from the current source file selected in the File Editor pane. See the description of the Build This File option in Tools menu build options.

Stop Compile/Build/Find

Stops any build, rebuild, or search operation that is in progress. See the description of the Stop Build/Find option in Tools menu build options.

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