question

Shinya O avatar image
0 Likes"
Shinya O asked Joerg Vogel commented

exception: FlexScript exception: MAIN:/project/exec/globals/Debugger/onUpdate

Hi,

The attached model executes the stop command in the process flow. The OnRunStop trigger executes command1, which executes reset and print. When I run this model I get the following error and FlexSim is frozen so I have no choice but to end the task from Task Manager.

  1. exception: FlexScript exception: MAIN:/project/exec/globals/Debugger/onUpdate

Why does this happen?

1712543870091.png

reset-command-in-user-commands.fsm

Thanks in advance.

FlexSim 23.0.8
resetusercommandonrunstop
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

Please investigate an event list on or around stop time instead of setting a debug point. A stop call terminates a model run execution instantly. I’am not sure how something can resume a suspended model run of a debug point that had terminated a model run.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.