question

Cindy Azuero avatar image
2 Likes"
Cindy Azuero asked Arun Kr edited

What a Discontinuing execution means and which are the most common causes?

FlexSim 16.0.1
discontinuing execution.
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

Ben Wilson avatar image
4 Likes"
Ben Wilson answered Arun Kr edited

"Discontinuing execution" means that a FlexScript function encountered an exception in the middle of its logic and exited the function early - it discontinued execution of that code.

This error message should be accompanied by additional information that will help you debug the issue, including the line number of your code that caused the error.

· 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.

Cindy Azuero avatar image Cindy Azuero commented ·

Thanks!

what common things can make that a function is exited early?

0 Likes 0 ·
Arun Kr avatar image Arun Kr Cindy Azuero commented ·

Hi Cindy,

Sometimes when you are referring to an object which is non-existing in the model, such errors can occur. Usually, seen when executing task sequences.

Regards,

Arun KR

1 Like 1 ·