2.2.1 Main toolbar

The main toolbar provides buttons for frequently used functions. If the functionality is not available in the current context, the buttons is grayed out.
Figure 2-10 Main toolbar
Main toolbar

Open
Click to open a model library and application file. When the button is clicked:
  1. If a model library is not already open, a dialog box is displayed to enable you to select a model library to load.
    Select the model library and click OK.
  2. If an application is not already open, a dialog box opens to enable you to select the application file to load into the target.
    Select the application file and click OK.
  3. If a model library and application are already open, a dialog box is displayed to select the source file for the application.
    Select the source file and click OK.

Note

If you are using a Symmetric MultiProcessing (SMP) model with more than one processor, such as one based on the Cortex™-A9, then Model Debugger only loads one image that is run on all processors. All Model Debuggers attached to the SMP model load the debug information for that image. This is called SMP awareness.
In certain circumstances SMP awareness can be switched on or off by using the Model Debugger Preferences dialog box.
Bkpts
Click to open the breakpoint manager
Run
Click this button to run the simulation until a breakpoint is hit or some exception occurs. Encountering a simulation halt is an example of an exception that stops simulation.
Pause/Cont
Click to pause or continue the current high-level simulation step command. An example would be a source-level step. The button text and icon changes depending on whether the simulation is running (Pause) or stopped (Cont).
High level simulation control commands can be interrupted by breakpoints before completion. These commands can be completed by clicking the Cont button.
Stop
Click to stop the execution of the model being debugged.
Step
Click to cause a source-level step to execute until the simulation reaches a different source line.
Over
Click to cause source-level steps to execute the simulation and step over any function calls.
Out
Click to cause source-level steps to execute control command until the current function is exited.
i Step
Click to advance the simulation by executing one source-level instruction.
i Over
Click to advance the simulation by one source-level instruction without following any call instructions.

Note

This command is not supported by all model targets.
i Out
Click to advance the simulation until a return instruction is executed.

Note

This command is not supported by all model targets.
i Step n
Click to advance the simulation by executing the number of source-level instructions specified in the <-n-> control.
Cycle
Click to advance the simulation by a single cycle.
Cycle n
Click to advance the simulation by the number of cycles specified in the edit box. The default is 1000 cycles.
<-n ->
Enter the number of cycles to step if the Cycle n or Back n buttons are clicked. The default is 1000 cycles.
If the i Step n button is clicked, this control indicates the number of instructions to step.
Back n
Click to step the simulation backwards by the number of cycles specified in the edit box. The default is 1000 cycles.

Note

This command is not supported by all model targets.
Back
Click to step the simulation backwards by one cycle.

Note

This command is not supported by all model targets.
Reset
Click to cause a reset of the target model. The application is reloaded.
Main
Click to cause a reset of the target model. The application is reloaded. The model runs until the main() function of the application source code is reached.

Note

This command is only available if a function main() can be found in the debug information of the application file.
Related reference
2.9 Preferences dialog box
Non-ConfidentialPDF file icon PDF versionARM DUI0314Q
Copyright © 2007-2014 ARM. All rights reserved.