increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 159 forks source link

Editor hangs #3

Closed weeble closed 11 years ago

weeble commented 11 years ago

I don't have a good repro for this yet. The whole editor page will lock up and no longer respond to mouse or keyboard input. It generally seems to happen while typing. I've seen it happen when typing an equals sign in a Legend line, and when typing a hash sign on a CollisionLayers line (I was trying to guess the comment syntax). The last time, I was lucky enough to have the debugging console open and could pause it and step through. The minified Javascript is a bit hard to decipher, but comparing it to the source I believe it was stuck in the loop in runMode. In this case, the content of the stream was just "#", and pos never moved beyond 0.

I'll follow-up if I find a reliable repro.

increpare commented 11 years ago

I think I have a fix for the collisionlayer crash, it'll be up later on today. : )

On Sun, Oct 6, 2013 at 11:57 AM, Weeble notifications@github.com wrote:

I don't have a good repro for this yet. The whole editor page will lock up and no longer respond to mouse or keyboard input. It generally seems to happen while typing. I've seen it happen when typing an equals sign in a Legend line, and when typing a hash sign on a CollisionLayers line (I was trying to guess the comment syntax). The last time, I was lucky enough to have the debugging console open and could pause it and step through. The minified Javascript is a bit hard to decipher, but comparing it to the source I believe it was stuck in the loop in runMode. In this case, the content of the stream was just "#", and pos never moved beyond 0.

I'll follow-up if I find a reliable repro.

— Reply to this email directly or view it on GitHubhttps://github.com/increpare/PuzzleScript/issues/3 .