While looops cause error and can't pass level

So I’ve been trying to do the desert on my other account but I think the while-loops are causing the infinite loop error and can’t pass levels usually that are supposed to have while loops

1 Like

If you cant get into the level try the comment out my code button that usually comes up

1 Like

I have experienced a bug when I let that happen it breaks my code. i usually try and fix the problem that caused the infinite loop.

1 Like

I can get in but when I try to run/submit my code it doesn’t work

1 Like

well then there is an error in your code. infinite loops dont just come randomly :grin:

1 Like

BTW I can’t get in the level without the error message pop up

1 Like

Do three buttons show up? One where it says „try again“ another with „Reset Level“ and the last with „Comment out my code?“ If so you should try pressing all of these buttons and then if it still does not work, contact support@codecombat.com

1 Like

Reset Level means it resets all of your code

1 Like

I know, but sometimes it works for me

1 Like

It may be that the level has too many ogres and the level crashes

1 Like

But I only experienced that in I think sarven Treasure

1 Like

Because I got to stage 10 there, dont ask me how, because I dont know

1 Like

Yes it does show up and I can get in the level, but inside the level it just doesn’t work

1 Like

Then you need to fix up the code, try to get a level help topic and then see what’s wrong or something like that

1 Like