| |||
| Home > Getting Started with RealView Developer Kit > Help on creating RealView Debugger projects > Automatic operations performed by a project | |||
A RealView Debugger project enables various operations to be performed automatically. To enable these operations to be performed automatically, RealView Debugger associates the project with a connection using a mechanism called binding. However, RealView Debugger only binds a project to a connection in the following circumstances:
when a connection already exists, and the project you open is the first one opened in the current debugging session
when one or more projects are open, and you connect to a target processor
when you open an autobound project, that is a project associated with a specific device (see Table 4.4), and a connection has a target processor that matches the device.
If you are working with multiple projects, there are specific rules that RealView Debugger uses to determine which project to bind to a connection. This might involve displaying a prompt to which you must respond.
If you do not restrict image loading to a specific device (see Table 4.4), then the binding mechanism is called default binding.
In addition to invoking these automatic operations, project binding has other effects when you are working with projects. See the chapter on managing projects in the RealView Developer Kit v2.2 Debugger User Guide for full details on project binding.
You set up the operations in the Project Properties (see Project properties). Table 4.5 lists these operations and shows you where to find the information to implement them.
Table 4.5. Project-related operations
| Operation | Reference |
|---|---|
Load the image associated with a project, if it exists. | See the description of the |
Set the initial load state of the image, which is one of:
| See the description of the |
Set any image-related controls. For example, set the program counter (PC) to the image entry point. | See the descriptions of the settings
in the |
Set various runtime controls, such as top of memory, and command-line arguments if the image accepts these. | See the descriptions of the settings
in the |
Set one or more predefined breakpoints. | See the descriptions of the settings
in the |
Run one or more RealView Debugger CLI commands. | See the descriptions of the settings
in the |