| |||
| Home > Project Binding > Forcing binding | |||
Select Project → Project Control... from the default Code window main menu to display the Project Control dialog box where you can force project binding and so change your project environment. When you are working with multiple projects, you can use the Project Control dialog box to control project binding so that you have full control over your project environment.
See Working with the Project Control dialog box for details on other controls in this dialog box.
In Figure 9.2,
there are three projects in the open project list. The last project
to open is shown at the top of the list and is selected by default
(armtothumb). This project is bound to the current connection, using
default binding. The dhrystone project is open
but unbound.
In this example, armtothumb is the active
project because it was the last project to bind successfully to
the current connection. This means that you can access the project properties
from the Project menu or from the Process
Control pane, if this is visible.
To bind the dhrystone project to the current
connection:
Select the armtothumb project
so that it is unticked.
Select the dhrystone project
so that it is ticked. This selects the project for action.
Click Re-Bind to force RealView Debugger to bind the selected project. This displays a list selection box showing the current connection, shown in Figure 9.3.
Select the connection so that it is ticked. You must do this even where the list contains only one connection.
Click OK to confirm your choice and close the selection box. Otherwise, click Cancel if you want to abort the binding operation.
This updates the contents of the Project Control dialog box to show the new binding.
Click Close to close the Project Control dialog box.
See Effects of binding for what happens when a project binds.