Swift crash "EXC_BREAKPOINT 0x0000000... " Swift crash "EXC_BREAKPOINT 0x0000000... " swift swift

Swift crash "EXC_BREAKPOINT 0x0000000... "


I am also struggling with the similar Crash Log ie. EXC_BREAKPOINT 0x000000010006a4d4. As stated, non of our QA were also able to replicate it but happened only few times. In my case, I found a pattern on all the crashes where it occurred. It occurred on iPhone 6S and iPhone 6 devices and both have only 2% to 4% RAM Free when crash occurred.

I believe it is due to low memory issue. Crash only happened after few instructions on app delegate pointing to random instructions. Crashlytics already stated that the issue lies within Xcode. You can read answer from here for that.

Somewhere I read that EXC_BREAKPOINT occurs when swift has no idea of what happened with the Memory i.e. I guess in my case memory issue due to lower memory.

I have upgraded my Xcode to 7.3 along with swift and I am testing with new builds to replicate the crash. Let's see what will happen. I will post the result after testing and see if crash will be replicated or not.

Hope this helps someone.


I had a similar problem with my app, but my problem had nothing to do with the device memory, as it might be the case with this error.the problem was that I was using a ForEach to render some items, and I was changing the list size.


In my case, inside the heightForRowAt method for a tableView, I was dividing the UIApplication.shared.keyWindow!.bounds.width / 2, and the force-unwrapping of the keyWindow was the problem. It was nil at that time.

This was possible to debug using XCode's Organizer -> Crashes -> Select the crash that you need -> Open in project...It lead me to the exact line of code which crashed and showed the problem.