What kind of errors make the app stop

 so here’s what im curious about

as you build you app with a simulator and if an error occurs it stops the app and tells you what the problem is

However, does this mean these kind of errors will all stop you actual app from running?

for example .  the simulator shows an error message when it can’t indesx a certain value from an array 

however , i want the app to do nothing if it can;t find any value 

of course i can’t prevent this by using if statements

however can i just let it go and

have it ignore it in the real app? or will it stop the app

Hi there,

You should never tolerate run-time errors in your app – always fix them.  In some cases the app will continue to run, but the app may not be in a stable state.

You mentioned the specific issue you’re getting is that Lua can’t index a value from an array, and that “of course i can’t prevent this by using if statements”.  In fact, you can definitely prevent it.  If you post some code showing where the error is coming from, we can show you how to check for it so that you don’t generate a run-time error.

  • Andrew

Hi there,

You should never tolerate run-time errors in your app – always fix them.  In some cases the app will continue to run, but the app may not be in a stable state.

You mentioned the specific issue you’re getting is that Lua can’t index a value from an array, and that “of course i can’t prevent this by using if statements”.  In fact, you can definitely prevent it.  If you post some code showing where the error is coming from, we can show you how to check for it so that you don’t generate a run-time error.

  • Andrew