Simulator crashes, but not in debug mode?!

So recently whenever i change scenes in my game, the simulator now crashes, so i decided to try using the debugger. I use the debugger to run my game, and it no longer crashes… This is an ongoing thing in my game, it seems to randomly come up, and ill just add more code to my game or change a few things and then all the sudden it disappears. anyways just wondering if anyone else has had any problems like this or if anyone has any ideas?

Also when the simulator crashes it shows no error messages in the terminal. I am using corona on windows for android.
thanks [import]uid: 19620 topic_id: 10182 reply_id: 310182[/import]

Yea so i just started dissecting my code, and started to comment out bit by bit trying to find what line of code made it crash, until i got to my director change scene code. with it commented out, it didnt crash, but obviously my scene didnt change, i then saved and uncommented the line, and now its changing scenes just fine in the simulator without crashing… i didnt change or add or subtract a single line of code… so weird, this has to be something with the simulator. [import]uid: 19620 topic_id: 10182 reply_id: 37186[/import]

weird - never heard of such, but will try to keep track of issues -

how many lines of code?

could be a simulator bug.

c. [import]uid: 24 topic_id: 10182 reply_id: 37221[/import]

there is about 1950 lines of code in my level file. So here is my situation, i work on my game at home, and also at work. To transfer my progress i zip up my entire project folder and then unzip when i get to home or work. so earlier today my problem seemed to be solved, i am now at home, and unzipped my project and ran it in the simulator and it is now crashing again… so strange. so im going to try removing lines of code, saving, and adding them again like i did earlier today to see if it clears up the issue. ill update with what i find [import]uid: 19620 topic_id: 10182 reply_id: 37241[/import]

wow this is crazy, so i did the same as i did earlier today, i have a function that clears out my level scene, and then changes the scene. So i started out with the function’s contents commented out, and then went line by line uncommenting each line, then running the game, and so on, until i had done the whole function, and now it runs fine without crashing! i might have to try and take a video to show, i just dont want to give away the game ive been working on :stuck_out_tongue: [import]uid: 19620 topic_id: 10182 reply_id: 37242[/import]