3.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 3.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 3.2. Debug server use case

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Copyright © 2007-2010 ARM Limited. All rights reserved.ARM DUI 0370K