small medium large xlarge

Generic-user-small
24 Oct 2017, 18:12
Lando (4 posts)

Hi,

ICE editor crash very often when I use “while”.

I write somethig like this:

while(true){
// unintended infinite loop
}

Before I know i made a mistake, the browser crash! Only way I found to open ICE editor again is cleaning cash. But then I loose all my work. Do you know any way to kill the process and save my code?

Thank you Chris!

Chris_strom_headshot_200_pragsmall
24 Oct 2017, 19:17
Chris Strom (274 posts)

Check out the end of chapter 2. Section 2.6, “Recovering When ICE is Broken” talks about just this scenario.

The summary is, go into edit-only mode with http://gamingjs.com/ice/?e, make the change you need, then switch back to regular mode with http://gamingjs.com/ice.

-Chris

Generic-user-small
25 Oct 2017, 11:50
Lando (4 posts)

Thank you. I am sorry for not reading your book carefully.

I’ll write 5 star review in amazon. :)

Chris_strom_headshot_200_pragsmall
25 Oct 2017, 15:26
Chris Strom (274 posts)

Hahaha. No worries – that’s an easy thing to miss the first time through. It’s also easy to forget about edit-only if you read it quickly in the beginning of the book then don’t have a problem until much later.

That’s why we have the forums :)

-Chris

You must be logged in to comment