2.5.4. Disconnecting by exiting

Exiting the debugger with a connection active causes details of the connection to be stored in the current workspace. However, although saving the workspace on exit is the default behavior, you might have changed this. See the chapter describing configuring workspaces in RealView Developer Kit v1.0 Debugger User Guide for more details. When you exit, the debugger prompts you to make sure you want to disconnect, as described in Disconnection confirmation.

When RealView Debugger starts up with a workspace that includes stored connection information, it tries to reconnect. If this fails, you are prompted for the next action, as described in Reconnecting stored connections.

Disconnection confirmation

If you exit the debugger with the connection active, the debugger asks whether the connection can be disconnected, shown in Figure 2.10.

Figure 2.10. Disconnect confirmation

Disconnect confirmation

If you do not disconnect, the Target Vehicle Server (TVS) maintains the connection until another debugger session requires it. Therefore, if you load and run an image on your target, stop it, exit from the debugger without disconnecting, and then rerun the debugger, it is still stopped in the same place when the debugger redisplays the connection.

If you do disconnect when you exit the debugger, TVS disconnects that connection, using the disconnection mode defined in the Advanced_Information setting Disconnect_mode in the connection properties for that connection. If this leaves the TVS with no connections, it exits as well.

Reconnecting stored connections

If, when you restart the debugger, the connection stored in the workspace is no longer available, you are prompted to retry or reconfigure it, shown in Figure 2.11. Do one of the following:

  • Make sure that the RVI-ME device is switched on and connected, then select Retry (you fix the problem first).

  • Select Configure Device Information... from the list and click OK to reconfigure the connection.

  • Click Cancel to abort the connection attempt.

Figure 2.11. Disconnect reconfiguration or retry

Disconnect reconfiguration or retry
Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B