|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 2 of 2 total|
|Curiosity - Overrunning Grid/cell Boundries|
|Mon, Jul 27 2015 7:17 AM||Permanent Link|
Just a curiosity ...
I just created a grid and tried to access a row too far (for i=0 to 5 instead of for i=0 to 4)
The symptom was that the for loop seemed to run ok, but no code after is executed, it just silently dies.
Of course my code was flawed - i should have done for i=0 to rowcount-1 and I can't expect the IDE to solve all my mistakes. But I was just wondering if the execution was really as silent as it appeared or whether there is a way for the ide to help me when i make silly mistakes like that.
|Mon, Jul 27 2015 4:41 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< I just created a grid and tried to access a row too far (for i=0 to 5 instead of for i=0 to 4)
The symptom was that the for loop seemed to run ok, but no code after is executed, it just silently dies. >>
Where was the code ? If the code is executed during loading/unloading of the application, then the browser will, by default, eat the JS exceptions.
The easiest way to test if this is the issue is to move the offending code to a button OnClick event handler that you can press at runtime *after* loading. If you see an error, then the issue was the exception suppression by the browser.