4.2.2.  Debug server

Model Shell can be started with a debug server by using the -S command line option with a CADI server. This enables CADI-compliant debuggers to connect to the simulation and take control of it.

After starting, the debugger can connect to the simulation and debug the model as though the model had been directly loaded into the debugger. The connection can be either local or remote across a network. See Figure 4.2. For more information on connecting to CADI and using a debugger, refer to the documentation supplied with your debugger.

Multiple debuggers can connect to a single model shell instance. This is useful for systems that consist of multiple CPUs such as, for example, the Dual Core System.

Figure 4.2. Debug server use case

Copyright © 2007-2009 ARM Limited. All rights reserved.ARM DUI 0370H