Which one is crashing? The one that's running in the debugger?

Is it literally crashing or is the debugger stopping at an exception?

Are you debugging a release build or debug build?