Run Stopping/Breakpoint Dialog

From Planimate Knowledge Base
Jump to navigation Jump to search

This dialog indicates a stop in the execution of Planimate model, either because a error in the model has occured or because the modeller has specifically requested a breakpoint to occur. It is important to realise this is not a crash in Planimate itself but rather the application that Planimate is running/simulating.

The information displayed in this dialog will be useful to model developers and will assist them to locate the cause of the stop. It may include:

  • The object where the error occured
  • The panel where the error occured
  • Which routine was executing when the error occured and the line it was at
  • Any broadcast that was in the process of being sent
  • Additional information (eg: table cell, bad parameters to a routine operation etc).

The "Stay Paused for debugging" checkbox (for errors) will attempt to keep the simulation engine "alive" after the error is dismissed. This can assist in reviewing the state of the model but realise that any data calculated from this point onwards could be invalid.

The Show button displays a popup enabling a number of useful displays:
Show Location
Shows the object or panel where the error occured

List Routine
Creates a listing of any active routine, useful for review

Open Routine
Opens the routine editor for any active routine

FEC Pending Events
Displays the Future Events list which tracks what events are scheduled to occur at the current and future simulation times.

Attributes
Shows portal attributes in scope at the current location

Tables
Shows tables that are in scope at the current location

Labels
Shows Label Lists that are in scope at the current location


The following buttons appear only for breakpoints

Disable Further Breakpoints
Select this if you dont want to see any further breakpoint messages. (You can later re-enable breakpoints in the Debugging Options menu).

Terminate Run
Select this to force the run to stop immediately.

Settings
Enables Planimate settings to be set from within this dialog.
Animation Speed enables the speed at which items animate to be set even when an item is mid-flow.

Debug
Enables debugging options to be enabled/disabled. This is useful when a breakpoint is used to catch the model just before an error condition and you then want to enable debugging options to trace the model in detail.

Step
Steps to the next routine lne.




idkbase note 10029