Debug
General Action Statement
The Debug statement opens the model debugger during your simulation, which will then allow you to step through your created Logic one statement at a time to verify your code and examine Variable and Attribute values. Use the Debug statement if something in your model Logic is not working the way you would like it to.
Syntax
Debug
Example
The following example opens the debugger whenever an Entity enters the Truck Location.
Debug
Remarks
Once an Entity reaches a Location or Route where the Debug statement is defined, the model debugger opens.
Use Run to continue the simulation until the next Debug statement instance. Use Next Statement to step to the next Logic statement in your model. Use Options to view debugging settings. Use End Simulation to stop the simulation.