How do I keep the engine from crashing while playtesting?

When it crashes, where in the code does it crash?
You need to get a stack trace, and ideally, connect with a debugger (or start the game from a debugger) so you can debug it.