2.2.2 Main toolbar

The main toolbar provides buttons for frequently used functions. If the functionality is not available in the current context, the buttons are 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

You might use a Symmetric MultiProcessing (SMP) model with more than one processor, such as one based on the Cortex®-A9 processor. In this case, Model Debugger only loads one image that is run on all processors. All Model Debuggers that are attached to the SMP model load the debug information for that image. This feature is called SMP awareness.
In certain circumstances, you can switch SMP awareness on or off by using the Model Debugger Preferences dialog box.
Bkpts
Click to open the breakpoint manager.
Run
To run the simulation until a breakpoint is hit or some exception occurs, click this button. 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).
You can interrupt high-level simulation control commands with 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
To execute until the simulation reaches a different source line, click to cause a source-level step.
Over
To execute the simulation and step over any function calls, click to cause source-level steps.
Out
To execute control command until the current function is exited, click to cause source-level steps.
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

Not all model targets support this command.
i Out
Click to advance the simulation until a return instruction is executed.

Note

Not all model targets support this command.
i Step n
Click to advance the simulation by executing the number of source-level instructions that are 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 that are 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 that are specified in the edit box. The default is 1000 cycles.

Note

Not all model targets support this command.
Back
Click to step the simulation backwards by one cycle.

Note

Not all model targets support this command.
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 main() function can be found in the debug information of the application file.
Related reference
2.9 Preferences dialog box
Non-ConfidentialPDF file icon PDF versionARM DUI0844G
Copyright © 2014-2016 ARM. All rights reserved.