I know it's been a while, but I wanted to let others know what I found with this.
I created a test scripting data source with 110 data points. (I would post it here, but its 5700 lines and I don't have permissions to attach the file.) I basically use the .set for all 110 data points.
When I clicked the validate button I would get the following error:
ReferenceError: "varDP110" is not defined at line: 28
The error was not generated when the script ran on its normal schedule, so from what I can tell it's something related to how the validate button pulls in the variables for the script to run.
Thanks,
Chad