14.03.2023, 17:30
hi everyone,
since FW 2023 RC1 resident scripts are fully restarted after every "save" to the script. all variables are lost, just like with event scripts between calls. debugging of large scripts that compute variables and accumulate data over a longer period of time became significantly more complicated than before, when all the variables of the resident scripts were kept in memory and you were able go through a script step by step during operation and eliminate all the bugs. at the end the scripts behaviour after a reboot for example was easily checked by disabling and enabling it to force a full restart.
i clearly prefer keeping the variables in memory after save and force a restart only after disabling it.
what do you think of this change ?
since FW 2023 RC1 resident scripts are fully restarted after every "save" to the script. all variables are lost, just like with event scripts between calls. debugging of large scripts that compute variables and accumulate data over a longer period of time became significantly more complicated than before, when all the variables of the resident scripts were kept in memory and you were able go through a script step by step during operation and eliminate all the bugs. at the end the scripts behaviour after a reboot for example was easily checked by disabling and enabling it to force a full restart.
i clearly prefer keeping the variables in memory after save and force a restart only after disabling it.
what do you think of this change ?