Magic Model Analyst allows you to control a model simulation using the debug buttons such as SuspendResumeStep into, and Step over. The table below explains the functions of all of the debug buttons. 


ButtonNameShortcut keyFunction
Start SimulationF8To start simulating an object of the initialized session shown in the Sessions pane. 
RestartF8To restart the last simulated element. 
SuspendF8To pause a running simulation session in the Sessions.
ResumeF8To resume a simulation session. 
Step intoF5To simulate and animate a currently active element in a selected simulation session in the Sessions pane. 
Step overF6To simulate a currently active element in a selected simulation session and run animation in the background.
TerminateNoneTo stop a session in the Sessions pane. If the selected session contains sub-sessions, all of the sub-sessions will also be terminated.

You can examine and edit variables in the Variables pane (see Variables Pane), pause the a model simulation at predefined breakpoints (see Breakpoints), or simulate one element at a time using the Step into or Step over button. 

The Debugger pane includes a player-like control panel for a step-by-step simulation (see the table above), threads or Behaviors with an expandable stack trace (see Understanding simulation sessions), input/output console for custom commands or expressions evaluation (see Simulation console), Variables pane/runtime structure (see Runtime Value Monitoring), and Breakpoints pane.