Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loops ending without completion #10

Open
ChrisC1234 opened this issue Jun 4, 2012 · 2 comments
Open

Loops ending without completion #10

ChrisC1234 opened this issue Jun 4, 2012 · 2 comments

Comments

@ChrisC1234
Copy link

I've been having problems with loops in ChickenFoot. I'll have a simple for loop set to go from 0 to 100, but when it gets to about 7 or so, all execution stops. No errors are reported, and any code after the loop is not executed either. These scripts have been working for a few years, so I'm fairly certain it isn't my code. The only change has been that I moved up from a machine with XP to a new machine with Windows 7 64 bit (with FireFox 12.2). Nothing irregular gets reported in the FireFox Error Console, and the ChickenFoot output window stays empty. A workaround that I've found is to put an alert statement at the bottom of the loop. For whatever reason, having to click "OK" during every iteration seems to prevent the code from stopping.

Any thoughts on what would cause this?

@buganini
Copy link

buganini commented Jul 7, 2012

This also happens for me,
I'm using FF 11.0 on FreeBSD 10-CURRENT (64bit),

for a complex script, it stops at around 10th loops,
for simple script like:
for(i=0;i<10000;++i){
output(i)
}
it stops at around 6100.
no error log.

@buganini
Copy link

buganini commented Jul 7, 2012

setting dom.max_chrome_script_run_time to -1 in about:config seems to solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants