Simulator on Mac sometimes gets stuck in a "crash loop"

I’m not sure if this happens on windows or not, but definitely happens on Mac (I’m running OSX 10.8.3).

Sometimes I will run my code in the simulator, and I may get a crash for the usual reasons (missing brackets, words etc).

However when I fix the problem and restart the simulator, the crash window will reappear. Clicking relaunch, edit code or continue all make the window reappear. The only way to run the app again is to open the Activity Monitor and kill the simulator. It’s really slowing down our work because we have to constantly kill the simulator.

Is this happening to anyone else, and if so do we know why?

I’ve had to kill the Mac simulator like this as well. Sometimes it just keeps spawning more error windows and won’t stop. I have to say it looks very bad when you’re teaching a big class of students - which is when it has happened.

My preference would be to go back to the console errors. The pop-up boxes just seem to slow down development.

Do other people find them useful?

Just to add to that - if the popup HAS to stay can we at least use Ctrl+R to restart, like you can normally do in the simulator.

It’s trivial, but when you’re doing it over and over every day, it slows things down even more.

I know this is probably the most obvious suggestion, but have you turned off “Show Runtime Errors” in the Simulator preferences? This should prevent the window from showing up (ever), but you’ll still get error reports in the Terminal/console.

Brent

Somehow I’d never seen that option in the preferences, presumably it’s fairly new.

It worked though, thanks Brent.

That’s new and does exactly what we want! Thanks Brent.

I’ve had to kill the Mac simulator like this as well. Sometimes it just keeps spawning more error windows and won’t stop. I have to say it looks very bad when you’re teaching a big class of students - which is when it has happened.

My preference would be to go back to the console errors. The pop-up boxes just seem to slow down development.

Do other people find them useful?

Just to add to that - if the popup HAS to stay can we at least use Ctrl+R to restart, like you can normally do in the simulator.

It’s trivial, but when you’re doing it over and over every day, it slows things down even more.

I know this is probably the most obvious suggestion, but have you turned off “Show Runtime Errors” in the Simulator preferences? This should prevent the window from showing up (ever), but you’ll still get error reports in the Terminal/console.

Brent

Somehow I’d never seen that option in the preferences, presumably it’s fairly new.

It worked though, thanks Brent.

That’s new and does exactly what we want! Thanks Brent.